diff src/stream/ngx_stream_realip_module.c @ 7077:2a288909abc6

Variables: macros for null variables. No functional changes.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 01 Aug 2017 14:28:33 +0300
parents df1a62c83b1b
children 06b01840bd42
line wrap: on
line diff
--- a/src/stream/ngx_stream_realip_module.c
+++ b/src/stream/ngx_stream_realip_module.c
@@ -89,7 +89,7 @@ static ngx_stream_variable_t  ngx_stream
     { ngx_string("realip_remote_port"), NULL,
       ngx_stream_realip_remote_port_variable, 0, 0, 0 },
 
-    { ngx_null_string, NULL, NULL, 0, 0, 0 }
+      ngx_stream_null_variable
 };