]> granicus.if.org Git - php/commitdiff
Really fix this
authorMarcus Boerger <helly@php.net>
Sun, 18 May 2003 23:20:10 +0000 (23:20 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 18 May 2003 23:20:10 +0000 (23:20 +0000)
ext/wddx/wddx.c

index ae3a7c73ba07dd1c49042b025f00e343afcb6355..d2e0f07f7c2196cbbcd376580e980a4efea1e48c 100644 (file)
@@ -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");