| commit | 7ed63ee75f3dda705744c081a09f7e64f4432150 | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Mon Oct 08 08:55:12 2007 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Mon Oct 08 08:55:12 2007 +0000 |
| tree | bcc89b078c603d974c8952ad3053a318c0463b21 | |
| parent | 7973964b3f2ae267a9e9c74cd5878f3b4a79751b [diff] [blame] |
use pool instead of ngx_conf_t
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index a99fbca..462393b 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -2607,7 +2607,7 @@ u.listen = 1; u.default_port = 80; - if (ngx_parse_url(cf, &u) != NGX_OK) { + if (ngx_parse_url(cf->pool, &u) != NGX_OK) { if (u.err) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%s in \"%V\" of the \"listen\" directive",