comparison src/core/ngx_parse.c @ 651:39b7d7b33c91 release-0.3.47

nginx-0.3.47-RELEASE import *) Feature: the "upstream" directive. *) Change: now the "\" escape symbol in the "\"" and "\'" pairs in the SSI command is always removed.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 23 May 2006 14:54:58 +0000
parents 9c2f3ed7a247
children 6d5c1535bb9d
comparison
equal deleted inserted replaced
650:d865681780b6 651:39b7d7b33c91
48 48
49 49
50 ngx_int_t 50 ngx_int_t
51 ngx_parse_time(ngx_str_t *line, ngx_int_t sec) 51 ngx_parse_time(ngx_str_t *line, ngx_int_t sec)
52 { 52 {
53 size_t len; 53 size_t len;
54 u_char *start, last; 54 u_char *start, last;
55 ngx_int_t value, total, scale; 55 ngx_int_t value, total, scale;
56 ngx_uint_t max, i; 56 ngx_uint_t max, i;
57 enum { 57 enum {
58 st_start = 0, 58 st_start = 0,
59 st_year, 59 st_year,
60 st_month, 60 st_month,
61 st_week, 61 st_week,