helly Thu Dec 5 14:49:12 2002 EDT
Modified files:
/php4/ext/db db.c
Log:
fix debug only
Index: php4/ext/db/db.c
diff -u php4/ext/db/db.c:1.81 php4/ext/db/db.c:1.82
--- php4/ext/db/db.c:1.81 Wed Nov 13 05:17:19 2002
+++ php4/ext/db/db.c Thu Dec 5 14:49:12 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: db.c,v 1.81 2002/11/13 10:17:19 helly Exp $ */
+/* $Id: db.c,v 1.82 2002/12/05 19:49:12 helly Exp $ */
#define IS_EXT_MODULE
#ifdef HAVE_CONFIG_H
@@ -424,7 +424,7 @@
else ret = -1;
#else
#if PHP_DEBUG
- php_error1(NULL TSRMLS_CC, filename, E_WARNING, "errno = %d [%s]\n",
errno, strerror(errno));
+ php_error_docref1(NULL TSRMLS_CC, filename, E_WARNING, "errno = %d
+[%s]\n", errno, strerror(errno));
#endif
if (errno) ret=errno;
else ret = -1;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php