aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_parse_time.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-01-30 07:28:09 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-01-30 07:28:09 +0000
commit86de4cbef5f075840406e24e16a2b1417f721bb3 (patch)
treec4af4ebbab09e3de2722107cff9b3647c0b95aca /src/http/ngx_http_parse_time.c
parent1b8b119932d10d9030aa6dccd3719e5a84de33b5 (diff)
downloadnginx-86de4cbef5f075840406e24e16a2b1417f721bb3.tar.gz
nginx-86de4cbef5f075840406e24e16a2b1417f721bb3.zip
nginx-0.0.1-2003-01-30-10:28:09 import
Diffstat (limited to 'src/http/ngx_http_parse_time.c')
-rw-r--r--src/http/ngx_http_parse_time.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/ngx_http_parse_time.c b/src/http/ngx_http_parse_time.c
index c236fd503..09e56b4f0 100644
--- a/src/http/ngx_http_parse_time.c
+++ b/src/http/ngx_http_parse_time.c
@@ -20,6 +20,11 @@ time_t ngx_http_parse_time(char *value, size_t len)
fmt = 0;
end = value + len;
+#if (NGX_SUPPRESS_WARN)
+ day = 32;
+ year = 2038;
+#endif
+
for (p = value; p < end; p++) {
if (*p == ',') {
break;