comparison src/stream/ngx_stream_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 d2b2ff157da5
children 6d1f3bb72b07
comparison
equal deleted inserted replaced
7076:1b82e86dd3e7 7077:2a288909abc6
109 0, NGX_STREAM_VAR_NOCACHEABLE, 0 }, 109 0, NGX_STREAM_VAR_NOCACHEABLE, 0 },
110 110
111 { ngx_string("protocol"), NULL, 111 { ngx_string("protocol"), NULL,
112 ngx_stream_variable_protocol, 0, 0, 0 }, 112 ngx_stream_variable_protocol, 0, 0, 0 },
113 113
114 { ngx_null_string, NULL, NULL, 0, 0, 0 } 114 ngx_stream_null_variable
115 }; 115 };
116 116
117 117
118 ngx_stream_variable_value_t ngx_stream_variable_null_value = 118 ngx_stream_variable_value_t ngx_stream_variable_null_value =
119 ngx_stream_variable(""); 119 ngx_stream_variable("");