diff src/http/modules/ngx_http_geoip_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 494c2c2a0247
children ef6a3a99a81a
line wrap: on
line diff
--- a/src/http/modules/ngx_http_geoip_module.c
+++ b/src/http/modules/ngx_http_geoip_module.c
@@ -232,7 +232,7 @@ static ngx_http_variable_t  ngx_http_geo
       ngx_http_geoip_city_int_variable,
       offsetof(GeoIPRecord, area_code), 0, 0 },
 
-    { ngx_null_string, NULL, NULL, 0, 0, 0 }
+      ngx_http_null_variable
 };