# HG changeset patch # User Maxim Dounin # Date 1370447108 -14400 # Node ID 55dc535ae5dc9d9ffb9bf9d163f9c7d298a56f87 # Parent b6562f98bfd80e5a67e5b3a7cbeb42413046c8e6 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 --- 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) {