diff src/http/ngx_http_core_module.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 42d9beeb22db
children 2911b7e5491b
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1445,7 +1445,7 @@ ngx_http_update_location_config(ngx_http
     }
 
     if (r == r->main) {
-        ngx_http_set_connection_log(r->connection, clcf->error_log);
+        ngx_set_connection_log(r->connection, clcf->error_log);
     }
 
     if ((ngx_io.flags & NGX_IO_SENDFILE) && clcf->sendfile) {