aboutsummaryrefslogtreecommitdiff
path: root/lib/netrc.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-06-10 02:49:42 +0000
committerYang Tse <yangsita@gmail.com>2009-06-10 02:49:42 +0000
commit2c166812253c28cdfbffdd4de069f5c11db3c7a8 (patch)
treec798b653673cea7174a904af6760a4e9ae86a9b9 /lib/netrc.c
parent065047dc62cba3efde597fa5420d112fc2f4c500 (diff)
Adjusted to take in account that...
With the curl memory tracking feature decoupled from the debug build feature, CURLDEBUG and DEBUGBUILD preprocessor symbol definitions are used as follows: CURLDEBUG used for curl debug memory tracking specific code (--enable-curldebug) DEBUGBUILD used for debug enabled specific code (--enable-debug)
Diffstat (limited to 'lib/netrc.c')
-rw-r--r--lib/netrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/netrc.c b/lib/netrc.c
index c82b639c9..a543c34e2 100644
--- a/lib/netrc.c
+++ b/lib/netrc.c
@@ -92,7 +92,7 @@ int Curl_parsenetrc(const char *host,
#define NETRC DOT_CHAR "netrc"
-#ifdef CURLDEBUG
+#ifdef DEBUGBUILD
{
/* This is a hack to allow testing.
* If compiled with --enable-debug and CURL_DEBUG_NETRC is defined,
@@ -106,7 +106,7 @@ int Curl_parsenetrc(const char *host,
netrc_alloc = TRUE;
}
}
-#endif /* CURLDEBUG */
+#endif /* DEBUGBUILD */
if(!netrcfile) {
home = curl_getenv("HOME"); /* portable environment reader */
if(home) {