NULL is short way

This commit is contained in:
Igor Sysoev 2006-10-20 19:10:16 +00:00
parent 44d8bc2ff1
commit a1e7b04a43

View File

@ -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;
}