cvs: php4 /ext/ircg ircg.c
| From: | Derick Rethans | Date: | Fri, 19 Jul 2002 09:27:22 +0000 |
| Subject: | cvs: php4 /ext/ircg ircg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12883@lists.php.net to get a copy of this message | ||
derick Fri Jul 19 05:27:22 2002 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Unify error messages
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.132 php4/ext/ircg/ircg.c:1.133
--- php4/ext/ircg/ircg.c:1.132 Sat Jun 29 14:46:49 2002
+++ php4/ext/ircg/ircg.c Fri Jul 19 05:27:22 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ircg.c,v 1.132 2002/06/29 18:46:49 sas Exp $ */
+/* $Id: ircg.c,v 1.133 2002/07/19 09:27:22 derick Exp $ */
/* {{{ includes */
@@ -1294,7 +1294,7 @@
if (!conn) RETURN_FALSE;
if (conn->fd != -1) {
- php_error(E_WARNING, "ircg_set_file was used AFTER ircg_set_current. You must set the output
filename before opening the persistent HTTP connection which is kept alive.");
+ php_error(E_WARNING, "%s(): Called after a call to ircg_set_current(). You must set the
output filename before opening the persistent HTTP connection which is kept alive.",
get_active_function_name(TSRMLS_C));
RETURN_FALSE;
}
@@ -1727,7 +1727,7 @@
convert_to_string_ex(p1);
if (Z_TYPE_PP(p2) != IS_ARRAY) {
- php_error(E_WARNING, "The second parameter should be an array");
+ php_error(E_WARNING, "%s(): The second parameter should be an array",
get_active_function_name(TSRMLS_C));
RETURN_FALSE;
}