diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 07:10:12 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 07:10:12 +0000 |
commit | 10a543a810ac78eb5d754302b001debf9cd420c4 (patch) | |
tree | a4a4f43835bed4549007b82db516d460fc86c555 /src/http/ngx_http_parse_time.c | |
parent | 5596ede94ed311bb9d16ee11f6f68c97eb46d836 (diff) | |
download | nginx-10a543a810ac78eb5d754302b001debf9cd420c4.tar.gz nginx-10a543a810ac78eb5d754302b001debf9cd420c4.zip |
nginx-0.0.2-2004-03-16-10:10:12 import
Diffstat (limited to 'src/http/ngx_http_parse_time.c')
-rw-r--r-- | src/http/ngx_http_parse_time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/ngx_http_parse_time.c b/src/http/ngx_http_parse_time.c index 6b98bad43..ea2a22474 100644 --- a/src/http/ngx_http_parse_time.c +++ b/src/http/ngx_http_parse_time.c @@ -6,10 +6,10 @@ static int mday[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; -time_t ngx_http_parse_time(char *value, size_t len) +time_t ngx_http_parse_time(u_char *value, size_t len) { - char *p, *end; - int day, month, year, hour, min, sec; + u_char *p, *end; + int day, month, year, hour, min, sec; enum { no = 0, rfc822, /* Tue 10 Nov 2002 23:50:13 */ |