comparison src/http/ngx_http_header_filter_module.c @ 6433:6b72414dfb4f

Win32: fixed build after cf3e75cfa951.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 15 Mar 2016 15:10:41 +0300
parents cf3e75cfa951
children e5076b96fd01
comparison
equal deleted inserted replaced
6432:cf3e75cfa951 6433:6b72414dfb4f
275 } 275 }
276 } 276 }
277 277
278 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); 278 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
279 279
280 #if (NGX_SUPPRESS_WARN)
281 ngx_str_null(&tokens);
282 #endif
283
280 if (r->headers_out.server == NULL) { 284 if (r->headers_out.server == NULL) {
281 if (clcf->server_tokens == 0) { 285 if (clcf->server_tokens == 0) {
282 ngx_str_set(&tokens, ngx_http_server_string); 286 ngx_str_set(&tokens, ngx_http_server_string);
283 287
284 } else if (clcf->server_tokens == 1) { 288 } else if (clcf->server_tokens == 1) {