From 7a8a20416fd7648686f05d14947ccdab44c6780c Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Tue, 11 Mar 2008 07:37:40 +0000 Subject: - Added a type checking macro for curl_easy_setopt(), needs gcc-4.3 and only works in C mode atm (http://curl.haxx.se/mail/lib-2008-02/0267.html , http://curl.haxx.se/mail/lib-2008-02/0292.html ) --- lib/easy.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/easy.c b/lib/easy.c index b8af38038..018aeab6e 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -348,6 +348,7 @@ CURL *curl_easy_init(void) * easy handle. */ +#undef curl_easy_setopt CURLcode curl_easy_setopt(CURL *curl, CURLoption tag, ...) { va_list arg; -- cgit v1.2.3