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 <[EMAIL PROTECTED]>                                |
   +----------------------------------------------------------------------+
 
-  $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 */



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to