From: Igor Sysoev Date: Mon, 30 Jun 2008 15:51:28 +0000 (+0000) Subject: fix variable access_log merging X-Git-Tag: release-0.7.5~4 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=0da6d2f67585b405f11f6657a230b75729d1f7aa;p=nginx.git 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 f4eefdeaf..f0fd56588 100644 --- a/src/http/modules/ngx_http_log_module.c +++ b/src/http/modules/ngx_http_log_module.c @@ -761,7 +761,8 @@ ngx_http_log_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) return NGX_CONF_OK; } - *conf = *prev; + conf->logs = prev->logs; + conf->off = prev->off; if (conf->logs || conf->off) { return NGX_CONF_OK;