diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-11-09 13:12:25 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-11-09 13:12:25 +0000 |
commit | 8152d0aeed966ba3a4b8e51622be6fedbb534891 (patch) | |
tree | e8a74d835c149db130c64d900bc94ca38a5ca091 /src | |
parent | 4c89c09ad8e574509446efab0347b124372bc53a (diff) | |
download | nginx-8152d0aeed966ba3a4b8e51622be6fedbb534891.tar.gz nginx-8152d0aeed966ba3a4b8e51622be6fedbb534891.zip |
style and grammar fix
Diffstat (limited to 'src')
-rw-r--r-- | src/http/ngx_http_parse_time.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/http/ngx_http_parse_time.c b/src/http/ngx_http_parse_time.c index 29611f486..115508954 100644 --- a/src/http/ngx_http_parse_time.c +++ b/src/http/ngx_http_parse_time.c @@ -11,7 +11,8 @@ static int mday[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; -time_t ngx_http_parse_time(u_char *value, size_t len) +time_t +ngx_http_parse_time(u_char *value, size_t len) { u_char *p, *end; int day, month, year, hour, min, sec; @@ -247,7 +248,7 @@ time_t ngx_http_parse_time(u_char *value, size_t len) year -= 1; } - /* Gauss's formula for Grigorian days from 1 March 1 BC */ + /* Gauss's formula for Grigorian days from March 1, 1 BC */ return (365 * year + year / 4 - year / 100 + year / 400 + 367 * month / 12 - 31 |