Mercurial > hg > nginx
diff src/stream/ngx_stream_handler.c @ 6129:187aa751ad62
Core: the ngx_set_connection_log() macro.
The http and stream versions of this macro were identical.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Sat, 25 Apr 2015 22:44:02 +0300 |
parents | 61d7ae76647d |
children | 8807a2369b1a |
line wrap: on
line diff
--- a/src/stream/ngx_stream_handler.c Fri Apr 24 10:54:06 2015 +0300 +++ b/src/stream/ngx_stream_handler.c Sat Apr 25 22:44:02 2015 +0300 @@ -130,7 +130,7 @@ 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);