[nginx] svn commit: r4932 - trunk/src/http

mdounin at mdounin.ru mdounin at mdounin.ru
Wed Nov 21 01:40:12 UTC 2012


Author: mdounin
Date: 2012-11-21 01:40:11 +0000 (Wed, 21 Nov 2012)
New Revision: 4932
URL: http://trac.nginx.org/nginx/changeset/4932/nginx

Log:
Request body: unbreak build without debug.


Modified:
   trunk/src/http/ngx_http_request_body.c

Modified: trunk/src/http/ngx_http_request_body.c
===================================================================
--- trunk/src/http/ngx_http_request_body.c	2012-11-21 01:08:11 UTC (rev 4931)
+++ trunk/src/http/ngx_http_request_body.c	2012-11-21 01:40:11 UTC (rev 4932)
@@ -976,7 +976,9 @@
 static ngx_int_t
 ngx_http_request_body_save_filter(ngx_http_request_t *r, ngx_chain_t *in)
 {
+#if (NGX_DEBUG)
     ngx_chain_t               *cl;
+#endif
     ngx_http_request_body_t   *rb;
 
     rb = r->request_body;



More information about the nginx-devel mailing list