Re: cvs: php4 /ext/curl curl.c
| From: | Sterling Hughes | Date: | Wed, 13 Dec 2000 10:11:17 +0000 |
| Subject: | Re: cvs: php4 /ext/curl curl.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-3110@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
>
> stas Wed Dec 13 01:44:06 2000 EDT
>
> Modified files:
> /php4/ext/curl curl.c
> Log:
> Kill warning
>
>
> Index: php4/ext/curl/curl.c
> diff -u php4/ext/curl/curl.c:1.31 php4/ext/curl/curl.c:1.32
> --- php4/ext/curl/curl.c:1.31 Thu Dec 7 03:01:32 2000
> +++ php4/ext/curl/curl.c Wed Dec 13 01:44:06 2000
> @@ -16,7 +16,7 @@
> +----------------------------------------------------------------------+
> */
>
> -/* $Id: curl.c,v 1.31 2000/12/07 11:01:32 sniper Exp $ */
> +/* $Id: curl.c,v 1.32 2000/12/13 09:44:06 stas Exp $ */
>
>
> #include "php.h"
> @@ -301,7 +301,7 @@
> }
> 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();
> if (!curl_handle->cp) {
>
Can you merge to head?
thanks,
Sterling