From 46accd62d15d16122d99726e212b00c0ec503a7d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 30 Oct 2003 09:06:24 +0000 Subject: 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. --- lib/ftp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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) -- cgit v1.2.3