diff options
author | Vladimir Homutov <vl@nginx.com> | 2015-04-25 22:44:02 +0300 |
---|---|---|
committer | Vladimir Homutov <vl@nginx.com> | 2015-04-25 22:44:02 +0300 |
commit | df555ffce6fe6416cc874dcd69a64584c6c7f5e8 (patch) | |
tree | 197ff71ba0b0d9dfa4da7f70e6c5bb1d18ff3c1c /src/stream/ngx_stream.c | |
parent | d61f21c5e8735da57fb1e1c1a91103e71f5c6207 (diff) | |
download | nginx-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.c')
-rw-r--r-- | src/stream/ngx_stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream/ngx_stream.c b/src/stream/ngx_stream.c index f982170c1..e5ffcf9bc 100644 --- a/src/stream/ngx_stream.c +++ b/src/stream/ngx_stream.c @@ -370,8 +370,8 @@ ngx_stream_optimize_servers(ngx_conf_t *cf, ngx_array_t *ports) ls->pool_size = 256; cscf = addr->ctx->srv_conf[ngx_stream_core_module.ctx_index]; - ls->logp = cscf->error_log; + ls->logp = cscf->error_log; ls->log.data = &ls->addr_text; ls->log.handler = ngx_accept_log_error; |