comparison src/http/ngx_http_variables.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 7f480434c7f2
children 924b6ef942bf
comparison
equal deleted inserted replaced
7076:1b82e86dd3e7 7077:2a288909abc6
374 0, NGX_HTTP_VAR_PREFIX, 0 }, 374 0, NGX_HTTP_VAR_PREFIX, 0 },
375 375
376 { ngx_string("arg_"), NULL, ngx_http_variable_argument, 376 { ngx_string("arg_"), NULL, ngx_http_variable_argument,
377 0, NGX_HTTP_VAR_NOCACHEABLE|NGX_HTTP_VAR_PREFIX, 0 }, 377 0, NGX_HTTP_VAR_NOCACHEABLE|NGX_HTTP_VAR_PREFIX, 0 },
378 378
379 { ngx_null_string, NULL, NULL, 0, 0, 0 } 379 ngx_http_null_variable
380 }; 380 };
381 381
382 382
383 ngx_http_variable_value_t ngx_http_variable_null_value = 383 ngx_http_variable_value_t ngx_http_variable_null_value =
384 ngx_http_variable(""); 384 ngx_http_variable("");