diff options
-rw-r--r-- | include/curl/typecheck-gcc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/curl/typecheck-gcc.h b/include/curl/typecheck-gcc.h index 5cdc5e4d7..32cdaf17f 100644 --- a/include/curl/typecheck-gcc.h +++ b/include/curl/typecheck-gcc.h @@ -349,7 +349,7 @@ _CURL_WARNING(_curl_easy_getinfo_err_curl_slist, /* true if info expects a pointer to struct curl_slist * argument */ #define _curl_is_slist_info(info) \ - (CURLINFO_SLIST < (info)) + (CURLINFO_SLIST < (info) && (info) < CURLINFO_SOCKET) /* typecheck helpers -- check whether given expression has requested type*/ |