aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-10-30 09:06:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-10-30 09:06:24 +0000
commit46accd62d15d16122d99726e212b00c0ec503a7d (patch)
treef729ca2aae85e30afe08db155ce5fe9ed2241400 /lib/ftp.c
parent41535eaea9e22f330f9853200140d386b44e809c (diff)
when getting headers only, stop pretending the reported time is GMT, as it
isn't. In fact, it might be, but we have no idea.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index cbbd93267..db3448248 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -2103,8 +2103,8 @@ CURLcode ftp_perform(struct connectdata *conn,
#else
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",
+ /* format: "Tue, 15 Nov 1994 12:45:26" */
+ strftime(buf, BUFSIZE-1, "Last-Modified: %a, %d %b %Y %H:%M:%S\r\n",
tm);
result = Curl_client_write(data, CLIENTWRITE_BOTH, buf, 0);
if(result)