diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-09-01 20:57:33 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-09-01 20:57:33 +0400 |
commit | 88d7ca44f645c6e1bbdb17affd7a34113911093d (patch) | |
tree | 15c356bf3749c703ca52e89081ec8219d237b615 /ext/mysql/php_mysql.c | |
parent | b9f3247267299cd38da851057c1bb90090db3e20 (diff) | |
download | php-git-88d7ca44f645c6e1bbdb17affd7a34113911093d.tar.gz |
Refactored INI subsystem to use zend_string* instead of char*
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r-- | ext/mysql/php_mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 424f923d78..e3535bc769 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -485,7 +485,7 @@ static void _close_mysql_plink(zend_resource *rsrc TSRMLS_DC) static PHP_INI_MH(OnMySQLPort) { if (new_value != NULL) { /* default port */ - MySG(default_port) = atoi(new_value); + MySG(default_port) = atoi(new_value->val); } else { MySG(default_port) = -1; } |