cvs: php4 /ext/wddx wddx.c
| From: | Marcus Boerger | Date: | Sat, 17 May 2003 11:44:57 +0000 |
| Subject: | cvs: php4 /ext/wddx wddx.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20991@lists.php.net to get a copy of this message | ||
helly Sat May 17 07:44:57 2003 EDT
Modified files:
/php4/ext/wddx wddx.c
Log:
TSRM fix
Index: php4/ext/wddx/wddx.c
diff -u php4/ext/wddx/wddx.c:1.100 php4/ext/wddx/wddx.c:1.101
--- php4/ext/wddx/wddx.c:1.100 Wed May 14 14:15:17 2003
+++ php4/ext/wddx/wddx.c Sat May 17 07:44:57 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: wddx.c,v 1.100 2003/05/14 18:15:17 andrei Exp $ */
+/* $Id: wddx.c,v 1.101 2003/05/17 11:44:57 helly Exp $ */
#include "php.h"
@@ -1284,8 +1284,7 @@
payload_len = php_stream_copy_to_mem(stream, &payload, PHP_STREAM_COPY_ALL, 0 TSRMLS_CC);
}
} else {
- php_error(E_WARNING, "%s() expects parameter 1 to be a string or a stream",
- get_active_function_name());
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Expecting parameter 1 to be a string or a
stream");
return;
}