diff src/stream/ngx_stream.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 3c344ea7d88b
line wrap: on
line diff
--- a/src/stream/ngx_stream.c
+++ b/src/stream/ngx_stream.c
@@ -370,8 +370,8 @@ ngx_stream_optimize_servers(ngx_conf_t *
             ls->pool_size = 256;
 
             cscf = addr->ctx->srv_conf[ngx_stream_core_module.ctx_index];
+
             ls->logp = cscf->error_log;
-
             ls->log.data = &ls->addr_text;
             ls->log.handler = ngx_accept_log_error;