diff options
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r-- | src/tool_operate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index fd9a13921..25ea9c4e6 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -1002,8 +1002,8 @@ static CURLcode operate_do(struct GlobalConfig *global, my_setopt(curl, CURLOPT_POSTFIELDSIZE_LARGE, config->postfieldsize); break; - case HTTPREQ_FORMPOST: - my_setopt_httppost(curl, CURLOPT_HTTPPOST, config->httppost); + case HTTPREQ_MIMEPOST: + my_setopt_mimepost(curl, CURLOPT_MIMEPOST, config->mimepost); break; default: break; |