Win32: fixed build after cf3e75cfa951.

This commit is contained in:
Ruslan Ermilov 2016-03-15 15:15:30 +03:00
parent b507ea017e
commit 094f2d1067
1 changed files with 4 additions and 0 deletions

View File

@ -231,6 +231,10 @@ ngx_http_v2_header_filter(ngx_http_request_t *r)
server_tokens = clcf->server_tokens;
#if (NGX_SUPPRESS_WARN)
ngx_str_null(&tokens);
#endif
if (r->headers_out.server == NULL) {
if (server_tokens == 0) {