Mercurial > hg > nginx
comparison src/mail/ngx_mail_core_module.c @ 1710:20a0f2880d45 stable-0.5
r1560 merge:
use pool instead of ngx_conf_t
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 12 Dec 2007 16:51:43 +0000 |
parents | ed9cd1702f7a |
children |
comparison
equal
deleted
inserted
replaced
1709:a179755ee1ea | 1710:20a0f2880d45 |
---|---|
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 } |