diff options
author | Yang Tse <yangsita@gmail.com> | 2009-06-10 02:49:42 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-06-10 02:49:42 +0000 |
commit | 2c166812253c28cdfbffdd4de069f5c11db3c7a8 (patch) | |
tree | c798b653673cea7174a904af6760a4e9ae86a9b9 /lib/ftp.c | |
parent | 065047dc62cba3efde597fa5420d112fc2f4c500 (diff) | |
download | curl-2c166812253c28cdfbffdd4de069f5c11db3c7a8.tar.gz |
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/ftp.c')
-rw-r--r-- | lib/ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -727,7 +727,7 @@ CURLcode Curl_GetFTPResponse(ssize_t *nreadp, /* return number of bytes read */ static void state(struct connectdata *conn, ftpstate newstate) { -#if defined(CURLDEBUG) && !defined(CURL_DISABLE_VERBOSE_STRINGS) +#if defined(DEBUGBUILD) && !defined(CURL_DISABLE_VERBOSE_STRINGS) /* for debug purposes */ static const char * const names[]={ "STOP", @@ -765,7 +765,7 @@ static void state(struct connectdata *conn, }; #endif struct ftp_conn *ftpc = &conn->proto.ftpc; -#if defined(CURLDEBUG) && !defined(CURL_DISABLE_VERBOSE_STRINGS) +#if defined(DEBUGBUILD) && !defined(CURL_DISABLE_VERBOSE_STRINGS) if(ftpc->state != newstate) infof(conn->data, "FTP %p state change from %s to %s\n", ftpc, names[ftpc->state], names[newstate]); |