aboutsummaryrefslogtreecommitdiff
path: root/src/getpass.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-05-12 08:22:04 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-05-12 08:22:04 +0000
commit34af02caca301a44f54c2df371f957a69e949df1 (patch)
tree4aa0099acc1c3b18f9477b6b815810c6ef73e93f /src/getpass.c
parent91025d1dd65dc4037dfd75accf20116d3a84c7bd (diff)
Disable memdebug for the allocs done by the app, unless CURLTOOLDEBUG is
defined (which it never is atm). Now, we can focus on making 'runtests -t [num]' work on all test cases and we should never leak nor crash.
Diffstat (limited to 'src/getpass.c')
-rw-r--r--src/getpass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/getpass.c b/src/getpass.c
index a2854cd16..eb210460e 100644
--- a/src/getpass.c
+++ b/src/getpass.c
@@ -94,8 +94,8 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
#endif
/* The last #include file should be: */
-#ifdef CURLDEBUG
-#include "../lib/memdebug.h"
+#if defined(CURLDEBUG) && defined(CURLTOOLDEBUG)
+#include "memdebug.h"
#endif
char *getpass_r(const char *prompt, char *buffer, size_t buflen)