summaryrefslogtreecommitdiff
path: root/ftp/curl/files/patch-lib::ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/curl/files/patch-lib::ftp.c')
-rw-r--r--ftp/curl/files/patch-lib::ftp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/curl/files/patch-lib::ftp.c b/ftp/curl/files/patch-lib::ftp.c
new file mode 100644
index 000000000000..dfe9eadf24a7
--- /dev/null
+++ b/ftp/curl/files/patch-lib::ftp.c
@@ -0,0 +1,11 @@
+--- lib/ftp.c.orig Tue May 13 23:31:00 2003
++++ lib/ftp.c Sun Jun 15 18:57:27 2003
+@@ -2055,7 +2055,7 @@
+ struct tm buffer;
+ tm = (struct tm *)localtime_r(&data->info.filetime, &buffer);
+ #else
+- tm = localtime((unsigned long *)&data->info.filetime);
++ tm = localtime((time_t *)&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",