diff src/http/ngx_http_get_time.c @ 24:77c7629a2627

nginx-0.0.1-2002-12-10-21:05:12 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 10 Dec 2002 18:05:12 +0000
parents d7908993fdeb
children 53cb81681040
line wrap: on
line diff
--- a/src/http/ngx_http_get_time.c
+++ b/src/http/ngx_http_get_time.c
@@ -9,5 +9,5 @@ ngx_http_get_time(char *buf, time_t t)
     struct tm *tp;
 
     tp = gmtime(&t);
-    return strftime(buf, 31, "%a, %d %b %Y %H:%M:%S GMT", tp);
+    return strftime(buf, 30, "%a, %d %b %Y %H:%M:%S GMT", tp);
 }