From 4229a483cf133c689cfe80ec945f177cfd96fb3f Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 18 May 2003 23:20:10 +0000 Subject: [PATCH] Really fix this --- ext/wddx/wddx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c index ae3a7c73ba..d2e0f07f7c 100644 --- a/ext/wddx/wddx.c +++ b/ext/wddx/wddx.c @@ -1281,7 +1281,7 @@ PHP_FUNCTION(wddx_deserialize) 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); + payload_len = php_stream_copy_to_mem(stream, &payload, PHP_STREAM_COPY_ALL, 0); } } else { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Expecting parameter 1 to be a string or a stream"); -- 2.50.1