Mercurial > hg > nginx
changeset 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 | 602dc42035fe |
files | src/http/ngx_http_header_filter_module.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_header_filter_module.c Tue Mar 15 13:36:19 2016 +0300 +++ b/src/http/ngx_http_header_filter_module.c Tue Mar 15 15:10:41 2016 +0300 @@ -277,6 +277,10 @@ clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); +#if (NGX_SUPPRESS_WARN) + ngx_str_null(&tokens); +#endif + if (r->headers_out.server == NULL) { if (clcf->server_tokens == 0) { ngx_str_set(&tokens, ngx_http_server_string);