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/http/ngx_http_request.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/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index a0d75ff87..2669b522c 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -543,7 +543,7 @@ ngx_http_create_request(ngx_connection_t *c) clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); - ngx_http_set_connection_log(r->connection, clcf->error_log); + ngx_set_connection_log(r->connection, clcf->error_log); r->header_in = hc->nbusy ? hc->busy[0] : c->buffer; @@ -867,7 +867,7 @@ ngx_http_ssl_servername(ngx_ssl_conn_t *ssl_conn, int *ad, void *arg) clcf = ngx_http_get_module_loc_conf(hc->conf_ctx, ngx_http_core_module); - ngx_http_set_connection_log(c, clcf->error_log); + ngx_set_connection_log(c, clcf->error_log); sscf = ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_ssl_module); @@ -2073,7 +2073,7 @@ ngx_http_set_virtual_server(ngx_http_request_t *r, ngx_str_t *host) clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); - ngx_http_set_connection_log(r->connection, clcf->error_log); + ngx_set_connection_log(r->connection, clcf->error_log); return NGX_OK; } |