Mercurial > hg > nginx
changeset 2078:9acbc5e7bcbd
fix variable access_log merging
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 30 Jun 2008 15:51:28 +0000 |
parents | 479440385e35 |
children | 333ef9e18a59 |
files | src/http/modules/ngx_http_log_module.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_log_module.c Mon Jun 30 15:32:57 2008 +0000 +++ b/src/http/modules/ngx_http_log_module.c Mon Jun 30 15:51:28 2008 +0000 @@ -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;