mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
NULL is short way
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user