diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-10-08 08:55:12 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-10-08 08:55:12 +0000 |
| commit | 7ed63ee75f3dda705744c081a09f7e64f4432150 (patch) | |
| tree | bcc89b078c603d974c8952ad3053a318c0463b21 /src/mail | |
| parent | 7973964b3f2ae267a9e9c74cd5878f3b4a79751b (diff) | |
| download | nginx-7ed63ee75f3dda705744c081a09f7e64f4432150.tar.gz nginx-7ed63ee75f3dda705744c081a09f7e64f4432150.tar.bz2 | |
use pool instead of ngx_conf_t
Diffstat (limited to 'src/mail')
| -rw-r--r-- | src/mail/ngx_mail_auth_http_module.c | 2 | ||||
| -rw-r--r-- | src/mail/ngx_mail_core_module.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mail/ngx_mail_auth_http_module.c b/src/mail/ngx_mail_auth_http_module.c index 9e74e6aec..0bde162e5 100644 --- a/src/mail/ngx_mail_auth_http_module.c +++ b/src/mail/ngx_mail_auth_http_module.c @@ -1368,7 +1368,7 @@ ngx_mail_auth_http(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) u.url.data += 7; } - if (ngx_parse_url(cf, &u) != NGX_OK) { + if (ngx_parse_url(cf->pool, &u) != NGX_OK) { if (u.err) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%s in auth_http \"%V\"", u.err, &u.url); diff --git a/src/mail/ngx_mail_core_module.c b/src/mail/ngx_mail_core_module.c index 965233014..4f13703bf 100644 --- a/src/mail/ngx_mail_core_module.c +++ b/src/mail/ngx_mail_core_module.c @@ -285,7 +285,7 @@ ngx_mail_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) u.url = value[1]; u.listen = 1; - if (ngx_parse_url(cf, &u) != NGX_OK) { + if (ngx_parse_url(cf->pool, &u) != NGX_OK) { if (u.err) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%s in \"%V\" of the \"listen\" directive", |
