comparison src/http/v2/ngx_http_v2_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 9027991e2f37
children 641306096f5b
comparison
equal deleted inserted replaced
7076:1b82e86dd3e7 7077:2a288909abc6
223 static ngx_http_variable_t ngx_http_v2_vars[] = { 223 static ngx_http_variable_t ngx_http_v2_vars[] = {
224 224
225 { ngx_string("http2"), NULL, 225 { ngx_string("http2"), NULL,
226 ngx_http_v2_variable, 0, 0, 0 }, 226 ngx_http_v2_variable, 0, 0, 0 },
227 227
228 { ngx_null_string, NULL, NULL, 0, 0, 0 } 228 ngx_http_null_variable
229 }; 229 };
230 230
231 231
232 static ngx_int_t 232 static ngx_int_t
233 ngx_http_v2_add_variables(ngx_conf_t *cf) 233 ngx_http_v2_add_variables(ngx_conf_t *cf)