diff options
Diffstat (limited to 'src/http/ngx_http_parse_time.c')
-rw-r--r-- | src/http/ngx_http_parse_time.c | 5 |
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; |