cvs: php4 /ext/mysqli mysqli_nonapi.c
| From: | Ilia Alshanetsky | Date: | Fri, 14 Feb 2003 18:27:20 +0000 |
| Subject: | cvs: php4 /ext/mysqli mysqli_nonapi.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18823@lists.php.net to get a copy of this message | ||
iliaa Fri Feb 14 13:27:20 2003 EDT
Modified files:
/php4/ext/mysqli mysqli_nonapi.c
Log:
Fixed a typo.
Index: php4/ext/mysqli/mysqli_nonapi.c
diff -u php4/ext/mysqli/mysqli_nonapi.c:1.3 php4/ext/mysqli/mysqli_nonapi.c:1.4
--- php4/ext/mysqli/mysqli_nonapi.c:1.3 Fri Feb 14 13:18:12 2003
+++ php4/ext/mysqli/mysqli_nonapi.c Fri Feb 14 13:27:20 2003
@@ -15,7 +15,7 @@
| Author: Georg Richter <georg@php.net> |
+----------------------------------------------------------------------+
- $Id: mysqli_nonapi.c,v 1.3 2003/02/14 18:18:12 georg Exp $
+ $Id: mysqli_nonapi.c,v 1.4 2003/02/14 18:27:20 iliaa Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -60,7 +60,8 @@
if (mysql_real_connect(mysql,hostname,username,passwd,dbname,port,socket,0) == NULL) {
/* Save error messages */
- php_mysqli_set_error(mysql_errno(mysql), (char *mysql_error(mysql) TSRMLS_CC);
+
+ php_mysqli_set_error(mysql_errno(mysql), (char *) mysql_error(mysql) TSRMLS_CC);
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", mysql_error(mysql));
/* free mysql structure */