summaryrefslogtreecommitdiff
path: root/ext/wddx
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-05-18 23:05:38 +0000
committerWez Furlong <wez@php.net>2003-05-18 23:05:38 +0000
commit0ab6c816d9c7df80c502d91d48610eb236d62b7e (patch)
treebae0dee0a1858da5bc6a585c84b5bab07d835e17 /ext/wddx
parent26353e4e1344f7b0e6e6e9cf17abd43b3accb940 (diff)
downloadphp-git-0ab6c816d9c7df80c502d91d48610eb236d62b7e.tar.gz
Fix build
Diffstat (limited to 'ext/wddx')
-rw-r--r--ext/wddx/wddx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c
index 7d0151ca8f..ae3a7c73ba 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, 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");