]> git.kaiwu.me - nginx.git/commitdiff
Style.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 13 Sep 2017 12:51:52 +0000 (15:51 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 13 Sep 2017 12:51:52 +0000 (15:51 +0300)
src/core/ngx_parse_time.c

index a5c50342430bb05402a52f24e80eb2ef7ee78b9b..232ac91dd4cc82d779d2be0f75dc68bfe716e2cd 100644 (file)
@@ -44,14 +44,15 @@ ngx_parse_http_time(u_char *value, size_t len)
         }
     }
 
-    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') {