X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fphp_http_encoding.c;h=3e57e2932e53233c99fa7fd408b724c4604a4f31;hb=e3976774f27b4129cbfd7d227aaa7e177f1b735c;hp=2e3007b7ff4940fba218946101e6751a110ee3f8;hpb=e44e3ceb60817cfdd17945a3f6043816e134aa75;p=m6w6%2Fext-http diff --git a/src/php_http_encoding.c b/src/php_http_encoding.c index 2e3007b..3e57e29 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(zend_object *object) +zend_object *php_http_encoding_stream_object_clone(zval *object) { - php_http_encoding_stream_object_t *new_obj, *old_obj = PHP_HTTP_OBJ(object, NULL); + php_http_encoding_stream_object_t *new_obj, *old_obj = PHP_HTTP_OBJ(NULL, object); php_http_encoding_stream_t *cpy = php_http_encoding_stream_copy(old_obj->stream, NULL); if (!cpy) {