diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-10-09 11:12:34 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-10-09 11:12:34 +0000 |
commit | 0f8facb49b45a711fa7832c68260a5b45b362922 (patch) | |
tree | 877fa9fabaeb601098cdbb04e48947e34100d8a4 /lib/ftp.c | |
parent | d49d05bce603313d71f1a2b9904c74ca7b368703 (diff) |
added memory debugging include file
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -89,6 +89,10 @@ #ifdef KRB4 #include "security.h" #endif +/* The last #include file should be: */ +#ifdef MALLOCDEBUG +#include "memdebug.h" +#endif /* returns last node in linked list */ static struct curl_slist *slist_get_last(struct curl_slist *list) @@ -1178,7 +1182,7 @@ CURLcode _ftp(struct connectdata *conn) else { /* Set type to binary (unless specified ASCII) */ ftpsendf(data->firstsocket, conn, "TYPE %s", - (data->bits.ftp_list_only)?"A":"I"); + (data->bits.ftp_ascii)?"A":"I"); nread = GetLastResponse(data->firstsocket, buf, conn); if(nread < 0) |