use pool instead of ngx_conf_t

This commit is contained in:
Igor Sysoev
2007-10-08 08:55:12 +00:00
parent 7973964b3f
commit 7ed63ee75f
8 changed files with 33 additions and 26 deletions

View File

@@ -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);