X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fphp_http_client_curl.c;h=9a6ce26d506872a321bf95b3e09d681d62d14898;hb=a866d154e6409a1e5fb6b9192d89c94b63f1e222;hp=94cdf474180549023805549a22230d02e20b3b4b;hpb=8c68d26868c0605654517d6dc098a2b269e118ae;p=m6w6%2Fext-http diff --git a/src/php_http_client_curl.c b/src/php_http_client_curl.c index 94cdf47..9a6ce26 100644 --- a/src/php_http_client_curl.c +++ b/src/php_http_client_curl.c @@ -331,7 +331,9 @@ static ZEND_RESULT_CODE php_http_curle_get_info(CURL *ch, HashTable *info) long l = 0; double d = 0; struct curl_slist *s = NULL, *p = NULL; - zval tmp = {{0}}; + zval tmp; + + ZVAL_NULL(&tmp); /* BEGIN::CURLINFO */ if (CURLE_OK == curl_easy_getinfo(ch, CURLINFO_EFFECTIVE_URL, &c)) {