From 7ed63ee75f3dda705744c081a09f7e64f4432150 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 8 Oct 2007 08:55:12 +0000 Subject: use pool instead of ngx_conf_t --- src/mysql/ngx_http_mysql_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mysql/ngx_http_mysql_test.c') diff --git a/src/mysql/ngx_http_mysql_test.c b/src/mysql/ngx_http_mysql_test.c index f809326ac..789274337 100644 --- a/src/mysql/ngx_http_mysql_test.c +++ b/src/mysql/ngx_http_mysql_test.c @@ -187,7 +187,7 @@ ngx_http_mysql_test(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) u.url = value[1]; u.default_port = 3306; - 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 upstream \"%V\"", u.err, &u.url); -- cgit v1.2.3