aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib1526.c
diff options
context:
space:
mode:
authorMarcel Raad <raad@teamviewer.com>2017-04-24 17:56:19 +0200
committerMarcel Raad <raad@teamviewer.com>2017-04-25 11:17:50 +0200
commit9c5aed185209838b524251886238da9b3d58382b (patch)
treee7079b21ab99218c7d4e31c90c343210619b6e4f /tests/libtest/lib1526.c
parent96ece5c0eef0ca4953ec306e59fd7aa8d48be793 (diff)
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
Diffstat (limited to 'tests/libtest/lib1526.c')
0 files changed, 0 insertions, 0 deletions