From: Maxim Dounin Date: Wed, 5 Jun 2013 15:45:08 +0000 (+0400) Subject: Fixed debug logging in ngx_http_parse_complex_uri(). X-Git-Tag: release-1.5.2~10 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=dc5c6928fb0d45a80947b2a294f77a432985747a;p=nginx.git Fixed debug logging in ngx_http_parse_complex_uri(). The *u previously logged isn't yet initialized at this point, and Valgrind complains. --- diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index 3c168aaf2..87a22e0f8 100644 --- 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_request_t *r, ngx_uint_t merge_slashes) * 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) {