MFH: Fixed bug#43875 (Two error messages returned for $new and $flag argument in mysql_connect())

This commit is contained in:
Hannes Magnusson 2008-01-20 14:10:44 +00:00
parent 5c5d5dd0f6
commit 369bf690c4

View file

@ -646,7 +646,7 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!s!ll", &host_and_port, &host_len,
&user, &user_len, &passwd, &passwd_len,
&new_link, &client_flags)==FAILURE) {
WRONG_PARAM_COUNT;
return;
}
if (!host_and_port) {