aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_handler.c
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2015-04-25 22:44:02 +0300
committerVladimir Homutov <vl@nginx.com>2015-04-25 22:44:02 +0300
commitdf555ffce6fe6416cc874dcd69a64584c6c7f5e8 (patch)
tree197ff71ba0b0d9dfa4da7f70e6c5bb1d18ff3c1c /src/stream/ngx_stream_handler.c
parentd61f21c5e8735da57fb1e1c1a91103e71f5c6207 (diff)
downloadnginx-df555ffce6fe6416cc874dcd69a64584c6c7f5e8.tar.gz
nginx-df555ffce6fe6416cc874dcd69a64584c6c7f5e8.zip
Core: the ngx_set_connection_log() macro.
The http and stream versions of this macro were identical.
Diffstat (limited to 'src/stream/ngx_stream_handler.c')
-rw-r--r--src/stream/ngx_stream_handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream/ngx_stream_handler.c b/src/stream/ngx_stream_handler.c
index c05e905c4..2be5183c1 100644
--- a/src/stream/ngx_stream_handler.c
+++ b/src/stream/ngx_stream_handler.c
@@ -130,7 +130,7 @@ ngx_stream_init_connection(ngx_connection_t *c)
cscf = ngx_stream_get_module_srv_conf(s, ngx_stream_core_module);
- ngx_stream_set_connection_log(c, cscf->error_log);
+ ngx_set_connection_log(c, cscf->error_log);
len = ngx_sock_ntop(c->sockaddr, c->socklen, text, NGX_SOCKADDR_STRLEN, 1);