diff src/http/modules/ngx_http_proxy_module.c @ 5685:0cbefdcf82a6

Style: use %N instead of '\n' where appropriate.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 14 May 2014 22:26:30 +0400
parents fbfdf8017748
children c95d7882dfc9
line wrap: on
line diff
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -1294,7 +1294,7 @@ ngx_http_proxy_create_request(ngx_http_r
     }
 
     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);
 
     if (plcf->body_set == NULL && plcf->upstream.pass_request_body) {