Mercurial > hg > nginx
diff src/http/modules/ngx_http_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/http/modules/ngx_http_realip_module.c +++ b/src/http/modules/ngx_http_realip_module.c @@ -122,7 +122,7 @@ static ngx_http_variable_t ngx_http_rea { ngx_string("realip_remote_port"), NULL, ngx_http_realip_remote_port_variable, 0, 0, 0 }, - { ngx_null_string, NULL, NULL, 0, 0, 0 } + ngx_http_null_variable };