mirror of
https://github.com/curl/curl.git
synced 2026-06-21 12:25:43 +03:00
cli tool: fix mime post with --disable-libcurl-option configure option
Reported-by: Marcel Raad Fixes #3576 Closes #3583
This commit is contained in:
parent
d8b0318ad6
commit
e49e5eaa10
8 changed files with 180 additions and 126 deletions
|
|
@ -945,6 +945,9 @@ static CURLcode operate_do(struct GlobalConfig *global,
|
|||
config->postfieldsize);
|
||||
break;
|
||||
case HTTPREQ_MIMEPOST:
|
||||
result = tool2curlmime(curl, config->mimeroot, &config->mimepost);
|
||||
if(result)
|
||||
goto show_error;
|
||||
my_setopt_mimepost(curl, CURLOPT_MIMEPOST, config->mimepost);
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue