mirror of
https://github.com/nginx/nginx.git
synced 2025-06-18 10:16:27 +08:00
Style: use %N instead of '\n' where appropriate.
This commit is contained in:
parent
9b92f59aef
commit
5a3d4410cc
@ -1294,7 +1294,7 @@ ngx_http_proxy_create_request(ngx_http_request_t *r)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||||
"http proxy header:\n\"%*s\"",
|
"http proxy header:%N\"%*s\"",
|
||||||
(size_t) (b->last - b->pos), b->pos);
|
(size_t) (b->last - b->pos), b->pos);
|
||||||
|
|
||||||
if (plcf->body_set == NULL && plcf->upstream.pass_request_body) {
|
if (plcf->body_set == NULL && plcf->upstream.pass_request_body) {
|
||||||
|
@ -1269,7 +1269,7 @@ ngx_mail_auth_http_create_request(ngx_mail_session_t *s, ngx_pool_t *pool,
|
|||||||
l.len = b->last - b->pos;
|
l.len = b->last - b->pos;
|
||||||
l.data = b->pos;
|
l.data = b->pos;
|
||||||
ngx_log_debug1(NGX_LOG_DEBUG_MAIL, s->connection->log, 0,
|
ngx_log_debug1(NGX_LOG_DEBUG_MAIL, s->connection->log, 0,
|
||||||
"mail auth http header:\n\"%V\"", &l);
|
"mail auth http header:%N\"%V\"", &l);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user