diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-06-26 06:52:48 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-06-26 06:52:48 +0000 |
commit | 81d403e207b23eeecd496f519021d61915947b8c (patch) | |
tree | 7d99b24a68a73959644b4b0d383b08c223ff6290 | |
parent | 2bd71d70ff8b14649840e16b497acf0ca1e0e32f (diff) |
one typecast less for the localtime(), use CURLDEBUG instead of MALLOCDEBUG
-rw-r--r-- | lib/ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -94,7 +94,7 @@ #include <curl/mprintf.h> /* The last #include file should be: */ -#ifdef MALLOCDEBUG +#ifdef CURLDEBUG #include "memdebug.h" #endif @@ -2061,7 +2061,7 @@ CURLcode ftp_perform(struct connectdata *conn, struct tm buffer; tm = (struct tm *)localtime_r(&data->info.filetime, &buffer); #else - tm = localtime((unsigned long *)&data->info.filetime); + tm = localtime(&data->info.filetime); #endif /* format: "Tue, 15 Nov 1994 12:45:26 GMT" */ strftime(buf, BUFSIZE-1, "Last-Modified: %a, %d %b %Y %H:%M:%S GMT\r\n", |