summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-05-14 16:24:39 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-05-14 16:24:39 +0000
commit731e6a9b11267ecb26f2833997610de353beeef2 (patch)
tree3d323cbf75f049b17ce1a429d0ff2d3037957b36 /src/http/ngx_http_upstream.c
parent2d252980eddcf8b77eed217704100e5d86c51430 (diff)
downloadnginx-731e6a9b11267ecb26f2833997610de353beeef2.tar.gz
nginx-731e6a9b11267ecb26f2833997610de353beeef2.tar.bz2
style fix
Diffstat (limited to 'src/http/ngx_http_upstream.c')
-rw-r--r--src/http/ngx_http_upstream.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index 0a6fddbdb..e72dafff6 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -972,7 +972,9 @@ ngx_http_upstream_connect(ngx_http_request_t *r, ngx_http_upstream_t *u)
u->output.sendfile = c->sendfile;
c->pool = r->pool;
- c->read->log = c->write->log = c->log = r->connection->log;
+ c->log = r->connection->log;
+ c->read->log = c->log;
+ c->write->log = c->log;
/* init or reinit the ngx_output_chain() and ngx_chain_writer() contexts */