mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 04:12:40 +08:00
Fixed debug logging in ngx_http_parse_complex_uri().
The *u previously logged isn't yet initialized at this point, and Valgrind complains.
This commit is contained in:
parent
2b356db155
commit
dc5c6928fb
@ -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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user