X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_api.c;h=8b195f80a644647d6e3f0048f0a538208628a385;hp=eb2906bc846073e7e68921b41564485792ffe5db;hb=b97243b9bffae6ec360cfa7ea2dd1c7f1c3a556f;hpb=8d78b6be2a598365596b03b39d2983e2ed639bb8 diff --git a/http_request_api.c b/http_request_api.c index eb2906b..8b195f8 100644 --- a/http_request_api.c +++ b/http_request_api.c @@ -685,7 +685,7 @@ PHP_HTTP_API STATUS _http_request_exec(CURL *ch, HashTable *info, phpstr *respon PHP_HTTP_API void _http_request_info(CURL *ch, HashTable *info TSRMLS_DC) { zval array; - Z_ARRVAL(array) = info; + INIT_ZARR(array, info); HTTP_CURL_INFO(EFFECTIVE_URL); #if LIBCURL_VERSION_NUM >= 0x070a07