mirror of
https://github.com/nginx/nginx.git
synced 2024-11-30 18:29:08 +08:00
Style.
This commit is contained in:
parent
79be6a5462
commit
0ca52adff6
@ -1394,7 +1394,7 @@ ngx_http_script_if_code(ngx_http_script_engine_t *e)
|
||||
|
||||
e->sp--;
|
||||
|
||||
if (e->sp->len && (e->sp->len !=1 || e->sp->data[0] != '0')) {
|
||||
if (e->sp->len && (e->sp->len != 1 || e->sp->data[0] != '0')) {
|
||||
if (code->loc_conf) {
|
||||
e->request->loc_conf = code->loc_conf;
|
||||
ngx_http_update_location_config(e->request);
|
||||
|
Loading…
Reference in New Issue
Block a user