commit | 0da6d2f67585b405f11f6657a230b75729d1f7aa | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Mon Jun 30 15:51:28 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Mon Jun 30 15:51:28 2008 +0000 |
tree | 304b4e843acdc5a29e237382a3666f92f39e96ed | |
parent | 504efffca833a0c4a66787d4440ead6254e49066 [diff] |
fix variable access_log merging
diff --git a/src/http/modules/ngx_http_log_module.c b/src/http/modules/ngx_http_log_module.c index f4eefde..f0fd565 100644 --- a/src/http/modules/ngx_http_log_module.c +++ b/src/http/modules/ngx_http_log_module.c
@@ -761,7 +761,8 @@ return NGX_CONF_OK; } - *conf = *prev; + conf->logs = prev->logs; + conf->off = prev->off; if (conf->logs || conf->off) { return NGX_CONF_OK;