mirror of
https://github.com/curl/curl.git
synced 2026-05-16 22:36:21 +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
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -1691,7 +1691,7 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
|
|||
to sort this out slowly and carefully */
|
||||
if(formparse(config,
|
||||
nextarg,
|
||||
&config->mimepost,
|
||||
&config->mimeroot,
|
||||
&config->mimecurrent,
|
||||
(subletter == 's')?TRUE:FALSE)) /* 's' is literal string */
|
||||
return PARAM_BAD_USE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue