comparison src/mail/ngx_mail_auth_http_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 02a22cd5282a
comparison
equal deleted inserted replaced
1558:6d6c5ddedfc0 1559:fe11e2a3946d
1366 if (ngx_strncmp(u.url.data, "http://", 7) == 0) { 1366 if (ngx_strncmp(u.url.data, "http://", 7) == 0) {
1367 u.url.len -= 7; 1367 u.url.len -= 7;
1368 u.url.data += 7; 1368 u.url.data += 7;
1369 } 1369 }
1370 1370
1371 if (ngx_parse_url(cf, &u) != NGX_OK) { 1371 if (ngx_parse_url(cf->pool, &u) != NGX_OK) {
1372 if (u.err) { 1372 if (u.err) {
1373 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 1373 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
1374 "%s in auth_http \"%V\"", u.err, &u.url); 1374 "%s in auth_http \"%V\"", u.err, &u.url);
1375 } 1375 }
1376 1376