From 3f80efd6605d5a6705c3eb9bb6ecbd3c87ddfab0 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Sat, 30 Sep 2000 16:14:54 +0000 Subject: - Cleanup output functions --- ext/mysql/php_mysql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mysql/php_mysql.c') diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index c77cdd2a9e..35645bf6af 100644 --- a/ext/mysql/php_mysql.c +++ b/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; -- cgit v1.2.1