26 #define ENABLE_CURLX_PRINTF 46 return "had unsupported trailing garbage";
50 return "is ambiguous";
52 return "requires parameter";
54 return "is badly used here";
56 return "expected a proper numerical parameter";
58 return "expected a positive numerical parameter";
60 return "the installed libcurl version doesn't support this";
62 return "a specified protocol is unsupported by libcurl";
64 return "out of memory";
66 return "the given option can't be reversed with a --no- prefix";
68 return "too large number";
70 return "unknown error";
77 const char *reqname[]= {
81 "multipart formpost (-F, --form)",
90 warnf(config->
global,
"You can only select one HTTP request method! " 91 "You asked for both %s and %s.\n",
92 reqname[req], reqname[*store]);
101 const char *dflt[]= {
112 notef(config->
global,
"Unnecessary use of -X or --request, %s is already " 113 "inferred.\n", dflt[req]);
117 "Setting custom HTTP method to HEAD with -X/--request may not work " 118 "the way you want. Consider using -I/--head instead.\n");
struct GlobalConfig * global
CURL_EXTERN int curl_strequal(const char *s1, const char *s2)