diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2013-06-05 19:45:08 +0400 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2013-06-05 19:45:08 +0400 |
commit | dc5c6928fb0d45a80947b2a294f77a432985747a (patch) | |
tree | 8a258a7543af22dd88fb74281838cb6eae0c8ab0 /src/http/ngx_http_parse.c | |
parent | 2b356db155a12c0bc403237772b5a7dca4c62a8f (diff) | |
download | nginx-dc5c6928fb0d45a80947b2a294f77a432985747a.tar.gz nginx-dc5c6928fb0d45a80947b2a294f77a432985747a.zip |
Fixed debug logging in ngx_http_parse_complex_uri().
The *u previously logged isn't yet initialized at this point, and
Valgrind complains.
Diffstat (limited to 'src/http/ngx_http_parse.c')
-rw-r--r-- | src/http/ngx_http_parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |