aboutsummaryrefslogtreecommitdiff
path: root/src/tool_operate.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-08-25 09:20:56 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-08-25 09:20:56 +0200
commit4a889441d318f9133dc9f3eba1939e360a8f7d58 (patch)
tree70eb52fd977b67edad237e758c6a4818f0beec48 /src/tool_operate.c
parentce034356d2fc9ac94bca4959a4054169129bf5d8 (diff)
curl: point out the conflicting HTTP methods if used
It isn't always clear to the user which options that cause the HTTP methods to conflict so by spelling them out it should hopefully be easier to understand why curl complains.
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r--src/tool_operate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index d18175f04..b3fa14644 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -935,7 +935,7 @@ static CURLcode operate_do(struct GlobalConfig *global,
my_setopt(curl, CURLOPT_POSTFIELDSIZE_LARGE,
config->postfieldsize);
break;
- case HTTPREQ_POST:
+ case HTTPREQ_FORMPOST:
my_setopt_httppost(curl, CURLOPT_HTTPPOST, config->httppost);
break;
default: