curl-curl/include/curl
Marcel Raad 9c5aed1852
typecheck-gcc: fix _curl_is_slist_info
Info values starting with CURLINFO_SOCKET expect a curl_socket_t, not a
curl_slist argument.

This fixes the following GCC warning when building the examples with
--enable-optimize:

../../include/curl/typecheck-gcc.h:126:42: warning: call to
‘_curl_easy_getinfo_err_curl_slist’ declared with attribute warning:
curl_easy_getinfo expects a pointer to 'struct curl_slist *' for this
info [enabled by default]
sendrecv.c:90:11: note: in expansion of macro ‘curl_easy_getinfo’
res = curl_easy_getinfo(curl, CURLINFO_ACTIVESOCKET, &sockfd);

Closes https://github.com/curl/curl/pull/1447
2017-04-25 11:17:50 +02:00
..
.gitignore gitignore: Sort for readability 2015-08-18 01:03:05 -04:00
curl.h include: curl/system.h is a run-time version of curlbuild.h 2017-04-03 23:24:39 +02:00
curlbuild.h.cmake URLs: Change more haxx.se URLs from http: to https: 2016-02-03 01:45:21 +01:00
curlbuild.h.dist curlbuild.h.dist: check __LP64__ as well to fix MIPS build 2016-05-18 14:10:36 +02:00
curlbuild.h.in URLs: Change more haxx.se URLs from http: to https: 2016-02-03 01:45:21 +01:00
curlrules.h include: curl/system.h is a run-time version of curlbuild.h 2017-04-03 23:24:39 +02:00
curlver.h bump: start working on next release 2017-04-19 23:16:10 +02:00
easy.h checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
Makefile.am include: curl/system.h is a run-time version of curlbuild.h 2017-04-03 23:24:39 +02:00
mprintf.h curl/mprintf.h: remove support for _MPRINTF_REPLACE 2016-04-01 10:46:36 +02:00
multi.h spelling fixes 2017-03-26 23:56:23 +02:00
stdcheaders.h checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
system.h system.h: fix mingw section 2017-04-11 15:54:42 +02:00
typecheck-gcc.h typecheck-gcc: fix _curl_is_slist_info 2017-04-25 11:17:50 +02:00