cvs: php4 /ext/wddx wddx.c
| From: | Marcus Boerger | Date: | Sun, 18 May 2003 23:20:10 +0000 |
| Subject: | cvs: php4 /ext/wddx wddx.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21056@lists.php.net to get a copy of this message | ||
helly Sun May 18 19:20:10 2003 EDT
Modified files:
/php4/ext/wddx wddx.c
Log:
Really fix this
Index: php4/ext/wddx/wddx.c
diff -u php4/ext/wddx/wddx.c:1.102 php4/ext/wddx/wddx.c:1.103
--- php4/ext/wddx/wddx.c:1.102 Sun May 18 19:05:38 2003
+++ php4/ext/wddx/wddx.c Sun May 18 19:20:10 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: wddx.c,v 1.102 2003/05/18 23:05:38 wez Exp $ */
+/* $Id: wddx.c,v 1.103 2003/05/18 23:20:10 helly 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);
+ 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");