mirror of
https://github.com/nginx/nginx.git
synced 2025-06-28 10:10:39 +08:00
NULL is short way
This commit is contained in:
parent
44d8bc2ff1
commit
a1e7b04a43
@ -367,7 +367,7 @@ ngx_http_get_indexed_variable(ngx_http_request_t *r, ngx_uint_t index)
|
|||||||
r->variables[index].valid = 0;
|
r->variables[index].valid = 0;
|
||||||
r->variables[index].not_found = 1;
|
r->variables[index].not_found = 1;
|
||||||
|
|
||||||
return &r->variables[index];
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user