comparison src/stream/ngx_stream_upstream.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 29bf0dbc0a77
children 860d3907da1c
comparison
equal deleted inserted replaced
7076:1b82e86dd3e7 7077:2a288909abc6
98 98
99 { ngx_string("upstream_bytes_received"), NULL, 99 { ngx_string("upstream_bytes_received"), NULL,
100 ngx_stream_upstream_bytes_variable, 1, 100 ngx_stream_upstream_bytes_variable, 1,
101 NGX_STREAM_VAR_NOCACHEABLE, 0 }, 101 NGX_STREAM_VAR_NOCACHEABLE, 0 },
102 102
103 { ngx_null_string, NULL, NULL, 0, 0, 0 } 103 ngx_stream_null_variable
104 }; 104 };
105 105
106 106
107 static ngx_int_t 107 static ngx_int_t
108 ngx_stream_upstream_add_variables(ngx_conf_t *cf) 108 ngx_stream_upstream_add_variables(ngx_conf_t *cf)