comparison src/http/ngx_http_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 2956fb9b7dcb
children c9a0f82deb7c
comparison
equal deleted inserted replaced
1558:6d6c5ddedfc0 1559:fe11e2a3946d
2605 2605
2606 u.url = value[1]; 2606 u.url = value[1];
2607 u.listen = 1; 2607 u.listen = 1;
2608 u.default_port = 80; 2608 u.default_port = 80;
2609 2609
2610 if (ngx_parse_url(cf, &u) != NGX_OK) { 2610 if (ngx_parse_url(cf->pool, &u) != NGX_OK) {
2611 if (u.err) { 2611 if (u.err) {
2612 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 2612 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
2613 "%s in \"%V\" of the \"listen\" directive", 2613 "%s in \"%V\" of the \"listen\" directive",
2614 u.err, &u.url); 2614 u.err, &u.url);
2615 } 2615 }