Mercurial > hg > nginx
comparison src/http/v2/ngx_http_v2_filter_module.c @ 6434:602dc42035fe
Win32: fixed build after cf3e75cfa951.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 15 Mar 2016 15:15:30 +0300 |
parents | cf3e75cfa951 |
children | e5076b96fd01 |
comparison
equal
deleted
inserted
replaced
6433:6b72414dfb4f | 6434:602dc42035fe |
---|---|
229 | 229 |
230 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); | 230 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); |
231 | 231 |
232 server_tokens = clcf->server_tokens; | 232 server_tokens = clcf->server_tokens; |
233 | 233 |
234 #if (NGX_SUPPRESS_WARN) | |
235 ngx_str_null(&tokens); | |
236 #endif | |
237 | |
234 if (r->headers_out.server == NULL) { | 238 if (r->headers_out.server == NULL) { |
235 | 239 |
236 if (server_tokens == 0) { | 240 if (server_tokens == 0) { |
237 len += 1 + sizeof(nginx); | 241 len += 1 + sizeof(nginx); |
238 ngx_str_set(&tokens, "nginx"); | 242 ngx_str_set(&tokens, "nginx"); |