[nginx] Style.
Maxim Dounin
mdounin at mdounin.ru
Wed Sep 13 14:10:41 UTC 2017
details: http://hg.nginx.org/nginx/rev/b38a8f0ca4a2
branches:
changeset: 7101:b38a8f0ca4a2
user: Maxim Dounin <mdounin at mdounin.ru>
date: Wed Sep 13 15:51:52 2017 +0300
description:
Style.
diffstat:
src/core/ngx_parse_time.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (21 lines):
diff --git a/src/core/ngx_parse_time.c b/src/core/ngx_parse_time.c
--- a/src/core/ngx_parse_time.c
+++ b/src/core/ngx_parse_time.c
@@ -44,14 +44,15 @@ ngx_parse_http_time(u_char *value, size_
}
}
- 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') {
More information about the nginx-devel
mailing list