summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_nonapi.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-02-14 18:27:20 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-02-14 18:27:20 +0000
commit410dd6abaf5ffd194fa9d6e214113be4d1f47485 (patch)
treebdeb41ae094457c83b71d8fba88c1c827f04cabb /ext/mysqli/mysqli_nonapi.c
parent2841d94f023882a58df7f522d309eb2b1409e401 (diff)
downloadphp-git-410dd6abaf5ffd194fa9d6e214113be4d1f47485.tar.gz
Fixed a typo.
Diffstat (limited to 'ext/mysqli/mysqli_nonapi.c')
-rw-r--r--ext/mysqli/mysqli_nonapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_nonapi.c b/ext/mysqli/mysqli_nonapi.c
index 7ac277b36d..f49ce189bb 100644
--- a/ext/mysqli/mysqli_nonapi.c
+++ b/ext/mysqli/mysqli_nonapi.c
@@ -60,7 +60,8 @@ PHP_FUNCTION(mysqli_connect)
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 */