mirror of
https://github.com/nginx/nginx.git
synced 2025-06-12 13:42:55 +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 != ' ') {
|
if (*p != ' ') {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (end - p < 18) {
|
if (end - p < 18) {
|
||||||
return NGX_ERROR;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fmt != isoc) {
|
if (fmt != isoc) {
|
||||||
if (*p < '0' || *p > '9' || *(p + 1) < '0' || *(p + 1) > '9') {
|
if (*p < '0' || *p > '9' || *(p + 1) < '0' || *(p + 1) > '9') {
|
||||||
|
Loading…
Reference in New Issue
Block a user