commit | dfd5511f7aaada306577a28eb8f72c589b1d419d | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Tue Mar 04 10:42:05 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Tue Mar 04 10:42:05 2008 +0000 |
tree | 84faf307b8eea422c3adf7008146b0d380929b3f | |
parent | 8efe926dc5601397bc054aedf37594e9719a52f6 [diff] [blame] |
use cf->cycle->new_log because at merge stage cf->pool->log is old log
diff --git a/src/mail/ngx_mail_core_module.c b/src/mail/ngx_mail_core_module.c index 3af9fbf..15627d2 100644 --- a/src/mail/ngx_mail_core_module.c +++ b/src/mail/ngx_mail_core_module.c
@@ -437,7 +437,7 @@ return NGX_CONF_ERROR; } - cscf->resolver = ngx_resolver_create(cf->pool, &u.addrs[0]); + cscf->resolver = ngx_resolver_create(cf, &u.addrs[0]); if (cscf->resolver == NULL) { return NGX_CONF_OK; }