Klevtsov Vadim's time condition fix
authorDaniel Stenberg <daniel@haxx.se>
Fri, 16 Nov 2001 11:21:50 +0000 (11:21 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Nov 2001 11:21:50 +0000 (11:21 +0000)
lib/http.c

index bb0c26e..1573f44 100644 (file)
@@ -751,7 +751,7 @@ CURLcode Curl_http(struct connectdata *conn)
 
 #ifdef HAVE_STRFTIME
       /* format: "Tue, 15 Nov 1994 12:45:26 GMT" */
-      strftime(buf, BUFSIZE-1, "%a, %d %b %Y %H:%M:%S %Z", thistime);
+      strftime(buf, BUFSIZE-1, "%a, %d %b %Y %H:%M:%S GMT", thistime);
 #else
       /* TODO: Right, we *could* write a replacement here */
       strcpy(buf, "no strftime() support");