diff src/mysql/ngx_http_mysql_test.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 a0310ac2814f
children 2a92804f4109
line wrap: on
line diff
--- 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_
     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);