changeset 5247:55dc535ae5dc

Fixed debug logging in ngx_http_parse_complex_uri(). The *u previously logged isn't yet initialized at this point, and Valgrind complains.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 05 Jun 2013 19:45:08 +0400
parents b6562f98bfd8
children f5626ab8cb87
files src/http/ngx_http_parse.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_parse.c
+++ b/src/http/ngx_http_parse.c
@@ -1256,8 +1256,8 @@ ngx_http_parse_complex_uri(ngx_http_requ
          * the line feed
          */
 
-        ngx_log_debug4(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
-                       "s:%d in:'%Xd:%c', out:'%c'", state, ch, ch, *u);
+        ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
+                       "s:%d in:'%Xd:%c'", state, ch, ch);
 
         switch (state) {