mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:43:39 +03:00
Philippe Hameau found out that -Q "+[command]" didn't work, although some code
was written for it. I fixed and added test case 227 to verify it. The curl.1 man page didn't mention the '+' so I added it.
This commit is contained in:
parent
b5065e462b
commit
7472ede32a
6 changed files with 66 additions and 10 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2005, 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
|
||||
|
|
@ -2784,8 +2784,9 @@ static void free_config_fields(struct Configurable *config)
|
|||
free(config->cookiejar);
|
||||
|
||||
curl_slist_free_all(config->quote); /* checks for config->quote == NULL */
|
||||
curl_slist_free_all(config->postquote); /* */
|
||||
curl_slist_free_all(config->headers); /* */
|
||||
curl_slist_free_all(config->prequote);
|
||||
curl_slist_free_all(config->postquote);
|
||||
curl_slist_free_all(config->headers);
|
||||
}
|
||||
|
||||
#if defined(WIN32) && !defined(__CYGWIN32__)
|
||||
|
|
@ -3490,6 +3491,7 @@ operate(struct Configurable *config, int argc, char *argv[])
|
|||
curl_easy_setopt(curl, CURLOPT_CRLF, config->crlf);
|
||||
curl_easy_setopt(curl, CURLOPT_QUOTE, config->quote);
|
||||
curl_easy_setopt(curl, CURLOPT_POSTQUOTE, config->postquote);
|
||||
curl_easy_setopt(curl, CURLOPT_PREQUOTE, config->prequote);
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEHEADER,
|
||||
config->headerfile?&heads:NULL);
|
||||
curl_easy_setopt(curl, CURLOPT_COOKIEFILE, config->cookiefile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue