From 0f8facb49b45a711fa7832c68260a5b45b362922 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 9 Oct 2000 11:12:34 +0000 Subject: added memory debugging include file --- lib/ftp.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/ftp.c') diff --git a/lib/ftp.c b/lib/ftp.c index 174c41e3e..920185e7e 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -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) -- cgit v1.2.3