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	Fri Oct 20 19:07:50 2006 +0000
+++ b/src/http/ngx_http_variables.c	Fri Oct 20 19:10:16 2006 +0000
@@ -367,7 +367,7 @@
     r->variables[index].valid = 0;
     r->variables[index].not_found = 1;
 
-    return &r->variables[index];
+    return NULL;
 }