rewritten upstream

This commit is contained in:
Igor Sysoev 2006-12-12 16:46:16 +00:00
parent 63ba5a61b5
commit bf3aaac7ac
12 changed files with 123 additions and 101 deletions

View file

@ -185,7 +185,7 @@ ngx_http_mysql_test(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
ngx_memzero(&u, sizeof(ngx_url_t));
u.url = value[1];
u.default_portn = 3306;
u.default_port = 3306;
if (ngx_parse_url(cf, &u) != NGX_OK) {
if (u.err) {