mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Win32: fixed build after cf3e75cfa951.
This commit is contained in:
parent
86927c6588
commit
3d9ce2d601
@ -277,6 +277,10 @@ ngx_http_header_filter(ngx_http_request_t *r)
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user