diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-10-30 09:06:24 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-10-30 09:06:24 +0000 |
commit | 46accd62d15d16122d99726e212b00c0ec503a7d (patch) | |
tree | f729ca2aae85e30afe08db155ce5fe9ed2241400 /lib | |
parent | 41535eaea9e22f330f9853200140d386b44e809c (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')
-rw-r--r-- | lib/ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |