diff src/http/ngx_http_variables.c @ 798:97e89a42711f

NULL is short way
author Igor Sysoev <igor@sysoev.ru>
date Fri, 20 Oct 2006 19:10:16 +0000
parents 36f7b549f481
children 7521e5f5d555
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;
 }