cvs: php4 /ext/wddx wddx.c
| From: | Wez Furlong | Date: | Sun, 18 May 2003 23:05:38 +0000 |
| Subject: | cvs: php4 /ext/wddx wddx.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21055@lists.php.net to get a copy of this message | ||
wez Sun May 18 19:05:38 2003 EDT
Modified files:
/php4/ext/wddx wddx.c
Log:
Fix build
Index: php4/ext/wddx/wddx.c
diff -u php4/ext/wddx/wddx.c:1.101 php4/ext/wddx/wddx.c:1.102
--- php4/ext/wddx/wddx.c:1.101 Sat May 17 07:44:57 2003
+++ php4/ext/wddx/wddx.c Sun May 18 19:05:38 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: wddx.c,v 1.101 2003/05/17 11:44:57 helly Exp $ */
+/* $Id: wddx.c,v 1.102 2003/05/18 23:05:38 wez Exp $ */
#include "php.h"
@@ -1281,7 +1281,7 @@
else if (Z_TYPE_P(packet) == IS_RESOURCE) {
stream = php_stream_from_zval(stream, &packet);
if (stream) {
- payload_len = php_stream_copy_to_mem(stream, &payload, PHP_STREAM_COPY_ALL, 0 TSRMLS_CC);
+ payload_len = php_stream_copy_to_mem(stream, &payload, PHP_STREAM_COPY_ALL);
}
} else {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Expecting parameter 1 to be a string or a
stream");