Mercurial > hg > nginx
comparison src/core/ngx_parse_time.c @ 7101:b38a8f0ca4a2
Style.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 13 Sep 2017 15:51:52 +0300 |
parents | e3723f2a11b7 |
children |
comparison
equal
deleted
inserted
replaced
7100:12cadc4669a7 | 7101:b38a8f0ca4a2 |
---|---|
42 fmt = isoc; | 42 fmt = isoc; |
43 break; | 43 break; |
44 } | 44 } |
45 } | 45 } |
46 | 46 |
47 for (p++; p < end; p++) | 47 for (p++; p < end; p++) { |
48 if (*p != ' ') { | 48 if (*p != ' ') { |
49 break; | 49 break; |
50 } | 50 } |
51 } | |
51 | 52 |
52 if (end - p < 18) { | 53 if (end - p < 18) { |
53 return NGX_ERROR; | 54 return NGX_ERROR; |
54 } | 55 } |
55 | 56 |
56 if (fmt != isoc) { | 57 if (fmt != isoc) { |
57 if (*p < '0' || *p > '9' || *(p + 1) < '0' || *(p + 1) > '9') { | 58 if (*p < '0' || *p > '9' || *(p + 1) < '0' || *(p + 1) > '9') { |
58 return NGX_ERROR; | 59 return NGX_ERROR; |
59 } | 60 } |