com php-src: fix build: ext/curl/interface.c
| From: | Antony Dovgal | Date: | Wed, 03 Feb 2016 15:02:58 +0000 |
| Subject: | com php-src: fix build: ext/curl/interface.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90933@lists.php.net to get a copy of this message | ||
Commit: 0d593b29e26c631b2ff56645b6370bdbd23f5eb4
Author: Antony Dovgal <tony2001@php.net> Wed, 3 Feb 2016 18:02:58 +0300
Parents: 0e856232d864721b22fb5dfa223361424634a178
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0d593b29e26c631b2ff56645b6370bdbd23f5eb4
Log:
fix build
sorry about that =\
Changed paths:
M ext/curl/interface.c
Diff:
diff --git a/ext/curl/interface.c b/ext/curl/interface.c
index 9da1aa7..cd2b07f 100644
--- a/ext/curl/interface.c
+++ b/ext/curl/interface.c
@@ -1751,7 +1751,7 @@ static php_curl *alloc_curl_handle()
memset(&ch->err, 0, sizeof(struct _php_curl_error));
zend_llist_init(&ch->to_free->str, sizeof(char *),
(llist_dtor_func_t)curl_free_string, 0);
- zend_llist_init(&ch->to_free->post, sizeof(struct *HttpPost),
(llist_dtor_func_t)curl_free_post, 0);
+ zend_llist_init(&ch->to_free->post, sizeof(struct HttpPost *),
(llist_dtor_func_t)curl_free_post, 0);
ch->to_free->slist = emalloc(sizeof(HashTable));
zend_hash_init(ch->to_free->slist, 4, NULL, curl_free_slist, 0);