Mercurial > hg > nginx
comparison src/stream/ngx_stream_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 | 558db057adaa |
children |
comparison
equal
deleted
inserted
replaced
7076:1b82e86dd3e7 | 7077:2a288909abc6 |
---|---|
208 | 208 |
209 { ngx_string("geoip_area_code"), NULL, | 209 { ngx_string("geoip_area_code"), NULL, |
210 ngx_stream_geoip_city_int_variable, | 210 ngx_stream_geoip_city_int_variable, |
211 offsetof(GeoIPRecord, area_code), 0, 0 }, | 211 offsetof(GeoIPRecord, area_code), 0, 0 }, |
212 | 212 |
213 { ngx_null_string, NULL, NULL, 0, 0, 0 } | 213 ngx_stream_null_variable |
214 }; | 214 }; |
215 | 215 |
216 | 216 |
217 static u_long | 217 static u_long |
218 ngx_stream_geoip_addr(ngx_stream_session_t *s, ngx_stream_geoip_conf_t *gcf) | 218 ngx_stream_geoip_addr(ngx_stream_session_t *s, ngx_stream_geoip_conf_t *gcf) |