X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_encoding.c;h=2e3007b7ff4940fba218946101e6751a110ee3f8;hp=3e57e2932e53233c99fa7fd408b724c4604a4f31;hb=e44e3ceb60817cfdd17945a3f6043816e134aa75;hpb=018096825617afa428c9c17f83b1ad3f3f3f96e5 diff --git a/src/php_http_encoding.c b/src/php_http_encoding.c index 3e57e29..2e3007b 100644 --- a/src/php_http_encoding.c +++ b/src/php_http_encoding.c @@ -477,9 +477,9 @@ php_http_encoding_stream_object_t *php_http_encoding_stream_object_new_ex(zend_c return o; } -zend_object *php_http_encoding_stream_object_clone(zval *object) +zend_object *php_http_encoding_stream_object_clone(zend_object *object) { - php_http_encoding_stream_object_t *new_obj, *old_obj = PHP_HTTP_OBJ(NULL, object); + php_http_encoding_stream_object_t *new_obj, *old_obj = PHP_HTTP_OBJ(object, NULL); php_http_encoding_stream_t *cpy = php_http_encoding_stream_copy(old_obj->stream, NULL); if (!cpy) {