From: Marcus Boerger Date: Sun, 18 May 2003 23:20:10 +0000 (+0000) Subject: Really fix this X-Git-Tag: RELEASE_1_0_2~754 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4229a483cf133c689cfe80ec945f177cfd96fb3f;p=php Really fix this --- 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");