[nginx] Win32: fixed build after cf3e75cfa951.
Ruslan Ermilov
ru at nginx.com
Tue Mar 15 12:11:47 UTC 2016
details: http://hg.nginx.org/nginx/rev/6b72414dfb4f
branches:
changeset: 6433:6b72414dfb4f
user: Ruslan Ermilov <ru at nginx.com>
date: Tue Mar 15 15:10:41 2016 +0300
description:
Win32: fixed build after cf3e75cfa951.
diffstat:
src/http/ngx_http_header_filter_module.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (14 lines):
diff -r cf3e75cfa951 -r 6b72414dfb4f src/http/ngx_http_header_filter_module.c
--- 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 @@ ngx_http_header_filter(ngx_http_request_
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);
More information about the nginx-devel
mailing list