]> granicus.if.org Git - php/commitdiff
MFB: Typo from old parsing API spotted by bjori
authorScott MacVicar <scottmac@php.net>
Mon, 14 May 2007 18:10:10 +0000 (18:10 +0000)
committerScott MacVicar <scottmac@php.net>
Mon, 14 May 2007 18:10:10 +0000 (18:10 +0000)
ext/mysql/php_mysql.c

index 3cdf5115b94cfbe8b699ccf66b8f2ed2f47c06d4..95aedc25e0a27798fd85482b6d6d754a4004af07 100644 (file)
@@ -1068,7 +1068,7 @@ PHP_FUNCTION(mysql_set_charset)
        php_mysql_conn *mysql;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s&|r", &csname, &csname_len, UG(utf8_conv), &mysql_link) == FAILURE) {
-               WRONG_PARAM_COUNT;
+               return;
        }
 
        if (ZEND_NUM_ARGS() == 1) {