mirror of
https://github.com/nginx/nginx.git
synced 2025-06-10 19:42:39 +08:00
Style.
This commit is contained in:
parent
63f5d46f58
commit
559017768e
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user