diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-11-13 23:19:19 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-11-13 23:19:19 +0100 |
commit | 796c6ef02b0861b9fe983eaefd4e8bd077305645 (patch) | |
tree | d64348c5abb60bcc769909400b35b9284317eeb8 | |
parent | 60cf8157c77d58f0ca731b4a16faca2addf07644 (diff) |
typecheck-gcc.h: add missing slist-using options
CURLOPT_RESOLVE and CURLOPT_PROXYHEADER were missing
Also sorted the list.
-rw-r--r-- | include/curl/typecheck-gcc.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/curl/typecheck-gcc.h b/include/curl/typecheck-gcc.h index 83832b182..2e24db0ff 100644 --- a/include/curl/typecheck-gcc.h +++ b/include/curl/typecheck-gcc.h @@ -320,13 +320,15 @@ _CURL_WARNING(_curl_easy_getinfo_err_curl_slist, /* evaluates to true if option takes a struct curl_slist * argument */ #define _curl_is_slist_option(option) \ - ((option) == CURLOPT_HTTPHEADER || \ - (option) == CURLOPT_HTTP200ALIASES || \ - (option) == CURLOPT_QUOTE || \ + ((option) == CURLOPT_HTTP200ALIASES || \ + (option) == CURLOPT_HTTPHEADER || \ + (option) == CURLOPT_MAIL_RCPT || \ (option) == CURLOPT_POSTQUOTE || \ (option) == CURLOPT_PREQUOTE || \ + (option) == CURLOPT_PROXYHEADER || \ + (option) == CURLOPT_QUOTE || \ + (option) == CURLOPT_RESOLVE || \ (option) == CURLOPT_TELNETOPTIONS || \ - (option) == CURLOPT_MAIL_RCPT || \ 0) /* groups of curl_easy_getinfo infos that take the same type of argument */ |