mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Kill warning
This commit is contained in:
parent
6072e2fabb
commit
62f626b157
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ PHP_FUNCTION(curl_init)
|
||||||
}
|
}
|
||||||
memset(curl_handle, 0, sizeof(php_curl));
|
memset(curl_handle, 0, sizeof(php_curl));
|
||||||
|
|
||||||
zend_llist_init(&curl_handle->to_free, sizeof(char *), curl_free_string, 0);
|
zend_llist_init(&curl_handle->to_free, sizeof(char *), (void(*)(void *))curl_free_string, 0);
|
||||||
|
|
||||||
curl_handle->cp = curl_easy_init();
|
curl_handle->cp = curl_easy_init();
|
||||||
if (!curl_handle->cp) {
|
if (!curl_handle->cp) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue