changeset 798:97e89a42711f

NULL is short way
author Igor Sysoev <igor@sysoev.ru>
date Fri, 20 Oct 2006 19:10:16 +0000
parents 36f7b549f481
children 9737d6fb1ac6
files src/http/ngx_http_variables.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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_r
     r->variables[index].valid = 0;
     r->variables[index].not_found = 1;
 
-    return &r->variables[index];
+    return NULL;
 }