diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-06-30 19:51:28 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-06-30 19:51:28 +0400 |
commit | 0da6d2f67585b405f11f6657a230b75729d1f7aa (patch) | |
tree | 304b4e843acdc5a29e237382a3666f92f39e96ed /src | |
parent | 504efffca833a0c4a66787d4440ead6254e49066 (diff) |
fix variable access_log merging
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_log_module.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |