diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-02-28 20:38:34 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-02-28 20:38:34 +0000 |
commit | 4491daef308a52f611bde5b6a9f5fb85b21f8fa3 (patch) | |
tree | 0f9ec0cd3b8b5adfcc3b2fee9485a8cf8f39f5af /src/mail/ngx_mail_core_module.c | |
parent | 02aa53be8397f170f2db4b9039fe3e9fff933ca5 (diff) | |
download | nginx-4491daef308a52f611bde5b6a9f5fb85b21f8fa3.tar.gz nginx-4491daef308a52f611bde5b6a9f5fb85b21f8fa3.zip |
cleanup resolver
Diffstat (limited to 'src/mail/ngx_mail_core_module.c')
-rw-r--r-- | src/mail/ngx_mail_core_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mail/ngx_mail_core_module.c b/src/mail/ngx_mail_core_module.c index 91b425f7f..3af9fbf99 100644 --- a/src/mail/ngx_mail_core_module.c +++ b/src/mail/ngx_mail_core_module.c @@ -437,7 +437,7 @@ ngx_mail_core_resolver(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) return NGX_CONF_ERROR; } - cscf->resolver = ngx_resolver_create(&u.addrs[0], cf->cycle->new_log); + cscf->resolver = ngx_resolver_create(cf->pool, &u.addrs[0]); if (cscf->resolver == NULL) { return NGX_CONF_OK; } |