cvs: php4 /ext/ircg ircg.c

From: Date: Tue, 22 Apr 2003 06:05:22 +0000
Subject: cvs: php4 /ext/ircg ircg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20429@lists.php.net to get a copy of this message
sas Tue Apr 22 02:05:22 2003 EDT Modified files: /php4/ext/ircg ircg.c Log: Drop docref for improved PHP 4.2 compatibility Index: php4/ext/ircg/ircg.c diff -u php4/ext/ircg/ircg.c:1.173 php4/ext/ircg/ircg.c:1.174 --- php4/ext/ircg/ircg.c:1.173 Tue Apr 22 01:43:38 2003 +++ php4/ext/ircg/ircg.c Tue Apr 22 02:05:22 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ircg.c,v 1.173 2003/04/22 05:43:38 sas Exp $ */ +/* $Id: ircg.c,v 1.174 2003/04/22 06:05:22 sas Exp $ */ /* {{{ includes */ @@ -986,7 +986,7 @@ if (!conn) RETURN_FALSE; if (conn->fd != -1) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Called after a call to ircg_set_current(). You must set the output filename before opening the persistent HTTP connection which is kept alive."); + php_error(E_WARNING, "Called after a call to ircg_set_current(). You must set the output filename before opening the persistent HTTP connection which is kept alive."); RETVAL_FALSE; } else { if (conn->file_fd != -1) @@ -1073,7 +1073,7 @@ #ifdef USE_IRCONN_MANAGEMENT ircg_hash_index_del(&h_irconn, Z_LVAL_PP(p1)); #endif - php_error_docref(NULL TSRMLS_CC, E_WARNING, "current fd is not valid"); + php_error(E_WARNING, "current fd is not valid"); RETVAL_FALSE; } else { #ifdef USE_FD2IRCONN @@ -1543,7 +1543,7 @@ convert_to_string_ex(p1); if (Z_TYPE_PP(p2) != IS_ARRAY) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "The second parameter should be an array"); + php_error(E_WARNING, "The second parameter should be an array"); RETURN_FALSE; }

« previous php.cvs (#20429) next »