Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-06-30 19:51:28 +0400
committerIgor Sysoev <igor@sysoev.ru>2008-06-30 19:51:28 +0400
commit0da6d2f67585b405f11f6657a230b75729d1f7aa (patch)
tree304b4e843acdc5a29e237382a3666f92f39e96ed /src
parent504efffca833a0c4a66787d4440ead6254e49066 (diff)
fix variable access_log merging
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_log_module.c3
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;