[nginx] Win32: fixed build after cf3e75cfa951.

Ruslan Ermilov ru at nginx.com
Tue Mar 15 12:16:21 UTC 2016


details:   http://hg.nginx.org/nginx/rev/602dc42035fe
branches:  
changeset: 6434:602dc42035fe
user:      Ruslan Ermilov <ru at nginx.com>
date:      Tue Mar 15 15:15:30 2016 +0300
description:
Win32: fixed build after cf3e75cfa951.

diffstat:

 src/http/v2/ngx_http_v2_filter_module.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 6b72414dfb4f -r 602dc42035fe src/http/v2/ngx_http_v2_filter_module.c
--- a/src/http/v2/ngx_http_v2_filter_module.c	Tue Mar 15 15:10:41 2016 +0300
+++ b/src/http/v2/ngx_http_v2_filter_module.c	Tue Mar 15 15:15:30 2016 +0300
@@ -231,6 +231,10 @@ ngx_http_v2_header_filter(ngx_http_reque
 
     server_tokens = clcf->server_tokens;
 
+#if (NGX_SUPPRESS_WARN)
+    ngx_str_null(&tokens);
+#endif
+
     if (r->headers_out.server == NULL) {
 
         if (server_tokens == 0) {



More information about the nginx-devel mailing list