diff src/http/ngx_http_parse_time.c @ 290:87e73f067470

nginx-0.0.2-2004-03-16-10:10:12 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 16 Mar 2004 07:10:12 +0000
parents 811bdd2af794
children da8c5707af39
line wrap: on
line diff
--- 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    */