Mercurial > hg > nginx
comparison src/mail/ngx_mail_core_module.c @ 1559:fe11e2a3946d
use pool instead of ngx_conf_t
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 08 Oct 2007 08:55:12 +0000 |
parents | f69493e8faab |
children | 057d362ee50e |
comparison
equal
deleted
inserted
replaced
1558:6d6c5ddedfc0 | 1559:fe11e2a3946d |
---|---|
283 ngx_memzero(&u, sizeof(ngx_url_t)); | 283 ngx_memzero(&u, sizeof(ngx_url_t)); |
284 | 284 |
285 u.url = value[1]; | 285 u.url = value[1]; |
286 u.listen = 1; | 286 u.listen = 1; |
287 | 287 |
288 if (ngx_parse_url(cf, &u) != NGX_OK) { | 288 if (ngx_parse_url(cf->pool, &u) != NGX_OK) { |
289 if (u.err) { | 289 if (u.err) { |
290 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, | 290 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, |
291 "%s in \"%V\" of the \"listen\" directive", | 291 "%s in \"%V\" of the \"listen\" directive", |
292 u.err, &u.url); | 292 u.err, &u.url); |
293 } | 293 } |