]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
typecheck-gcc.h: add missing slist-using options
authorDaniel Stenberg <daniel@haxx.se>
Fri, 13 Nov 2015 22:19:19 +0000 (23:19 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Nov 2015 22:19:19 +0000 (23:19 +0100)
CURLOPT_RESOLVE and CURLOPT_PROXYHEADER were missing

Also sorted the list.

include/curl/typecheck-gcc.h

index 83832b1829df19a6ed64a01639b26763f0d652fa..2e24db0ff59c40b137ec89a9d8a3f571ed4791b2 100644 (file)
@@ -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 */