Mercurial > hg > nginx
changeset 7101:b38a8f0ca4a2
Style.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 13 Sep 2017 15:51:52 +0300 |
parents | 12cadc4669a7 |
children | 63699a40e2ff |
files | src/core/ngx_parse_time.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/ngx_parse_time.c Wed Aug 30 14:52:11 2017 -0700 +++ b/src/core/ngx_parse_time.c Wed Sep 13 15:51:52 2017 +0300 @@ -44,14 +44,15 @@ } } - for (p++; p < end; p++) + for (p++; p < end; p++) { if (*p != ' ') { break; } + } if (end - p < 18) { return NGX_ERROR; - } + } if (fmt != isoc) { if (*p < '0' || *p > '9' || *(p + 1) < '0' || *(p + 1) > '9') {