aboutsummaryrefslogtreecommitdiff
path: root/src/mysql/ngx_http_mysql_test.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-12-12 16:46:16 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-12-12 16:46:16 +0000
commitbf3aaac7ac691d142201daaf7fa687d4760bbf22 (patch)
treeb8708eb68217a48d66762506c6d78c0b66227ec3 /src/mysql/ngx_http_mysql_test.c
parent63ba5a61b59142048400b0a5e434abb7c7b98e2a (diff)
downloadnginx-bf3aaac7ac691d142201daaf7fa687d4760bbf22.tar.gz
nginx-bf3aaac7ac691d142201daaf7fa687d4760bbf22.zip
rewritten upstream
Diffstat (limited to 'src/mysql/ngx_http_mysql_test.c')
-rw-r--r--src/mysql/ngx_http_mysql_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysql/ngx_http_mysql_test.c b/src/mysql/ngx_http_mysql_test.c
index ecc5cbf09..f809326ac 100644
--- a/src/mysql/ngx_http_mysql_test.c
+++ b/src/mysql/ngx_http_mysql_test.c
@@ -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) {