mirror of
https://github.com/nginx/nginx.git
synced 2026-10-22 03:51:14 +00:00
NULL is short way
This commit is contained in:
parent
44d8bc2ff1
commit
a1e7b04a43
1 changed files with 1 additions and 1 deletions
|
|
@ -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].not_found = 1;
|
||||
|
||||
return &r->variables[index];
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue