| commit | 9126e56298db804fbf586c064df021c8881e7b02 | [log] [tgz] |
|---|---|---|
| author | Ruslan Ermilov <ru@nginx.com> | Tue Mar 15 15:15:30 2016 +0300 |
| committer | Ruslan Ermilov <ru@nginx.com> | Tue Mar 15 15:15:30 2016 +0300 |
| tree | d87269db41f8d8309485d1da6b35c331995b7dc3 | |
| parent | 90c2f842ebdfce139ad8c854029e9b68f57546b5 [diff] |
Win32: fixed build after cf3e75cfa951.
diff --git a/src/http/v2/ngx_http_v2_filter_module.c b/src/http/v2/ngx_http_v2_filter_module.c index da78407..235a006 100644 --- a/src/http/v2/ngx_http_v2_filter_module.c +++ b/src/http/v2/ngx_http_v2_filter_module.c
@@ -231,6 +231,10 @@ server_tokens = clcf->server_tokens; +#if (NGX_SUPPRESS_WARN) + ngx_str_null(&tokens); +#endif + if (r->headers_out.server == NULL) { if (server_tokens == 0) {