aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-03-28 14:38:33 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-03-28 14:38:33 +0000
commit4ca98f65a5b2e753bdbb235d4609fbf3e0e323d6 (patch)
tree0c27ebbbea324b319d17b6a2347166925ffb761a /src
parent035b9c5d240d862ad2c787ca37022e1264a17279 (diff)
downloadnginx-4ca98f65a5b2e753bdbb235d4609fbf3e0e323d6.tar.gz
nginx-4ca98f65a5b2e753bdbb235d4609fbf3e0e323d6.zip
style fix
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_core_module.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 0a686c33a..e684d111c 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -874,7 +874,8 @@ ngx_http_update_location_config(ngx_http_request_t *r)
}
if (r == r->main) {
- r->connection->log->file = clcf->err_log->file;
+ r->connection->log->file = clcf->err_log->file;
+
if (!(r->connection->log->log_level & NGX_LOG_DEBUG_CONNECTION)) {
r->connection->log->log_level = clcf->err_log->log_level;
}