comparison src/mail/ngx_mail_auth_http_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
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