Browse Source

- Cleanup output functions

PHP-4.0.5
Andi Gutmans 26 years ago
parent
commit
3f80efd660
  1. 2
      ext/mysql/php_mysql.c

2
ext/mysql/php_mysql.c

@ -437,7 +437,7 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent)
#else
if (mysql_connect(mysql,host,user,passwd)==NULL) {
#endif
php_error(E_WARNING,mysql_error(mysql));
php_error(E_WARNING, "%s", mysql_error(mysql));
free(mysql);
efree(hashed_details);
RETURN_FALSE;

Loading…
Cancel
Save