aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-10-20 19:10:16 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-10-20 19:10:16 +0000
commita1e7b04a437cc7e624b2e6acb90454ca3773268f (patch)
tree32657840dffd7a3139a21c5ec76748c678323eea
parent44d8bc2ff19385cf85c09bffdc21fe7a9eb19976 (diff)
downloadnginx-a1e7b04a437cc7e624b2e6acb90454ca3773268f.tar.gz
nginx-a1e7b04a437cc7e624b2e6acb90454ca3773268f.zip
NULL is short way
-rw-r--r--src/http/ngx_http_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c
index 48b46f07d..120145829 100644
--- a/src/http/ngx_http_variables.c
+++ b/src/http/ngx_http_variables.c
@@ -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;
}