diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-02-20 13:46:53 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-02-20 13:46:53 +0000 |
commit | 721b05e3436884fc1e1b55f211e7fa4251d92a2a (patch) | |
tree | e803d7e8b88499be988b4d557ee57fc5c02e2512 /lib/ftp.c | |
parent | a333bddeeb6ce46f0a7d218d78fa700c881f2833 (diff) |
Nico Baggus' VMS tweaks
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -55,6 +55,7 @@ #include <netdb.h> #endif #ifdef VMS +#include <in.h> #include <inet.h> #endif #endif @@ -1575,7 +1576,7 @@ CURLcode ftp_perform(struct connectdata *conn) struct tm buffer; tm = (struct tm *)localtime_r(&data->info.filetime, &buffer); #else - tm = localtime(&data->info.filetime); + tm = localtime((unsigned long *)&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 %Z\r\n", |