mirror of
https://github.com/curl/curl.git
synced 2026-04-14 00:51:42 +08:00
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 |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| curl.h | ||
| curlbuild.h.cmake | ||
| curlbuild.h.dist | ||
| curlbuild.h.in | ||
| curlrules.h | ||
| curlver.h | ||
| easy.h | ||
| Makefile.am | ||
| mprintf.h | ||
| multi.h | ||
| stdcheaders.h | ||
| system.h | ||
| typecheck-gcc.h | ||