mirror of
https://github.com/curl/curl.git
synced 2025-09-29 15:36:53 +03:00
s/CURLOPT_WRITEHEADER/CURLOPT_HEADERDATA simply because it is a better name
This commit is contained in:
parent
6c6dc3f879
commit
99e9938617
|
@ -4839,7 +4839,7 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
|
||||||
my_setopt(curl, CURLOPT_QUOTE, config->quote);
|
my_setopt(curl, CURLOPT_QUOTE, config->quote);
|
||||||
my_setopt(curl, CURLOPT_POSTQUOTE, config->postquote);
|
my_setopt(curl, CURLOPT_POSTQUOTE, config->postquote);
|
||||||
my_setopt(curl, CURLOPT_PREQUOTE, config->prequote);
|
my_setopt(curl, CURLOPT_PREQUOTE, config->prequote);
|
||||||
my_setopt(curl, CURLOPT_WRITEHEADER,
|
my_setopt(curl, CURLOPT_HEADERDATA,
|
||||||
config->headerfile?&heads:NULL);
|
config->headerfile?&heads:NULL);
|
||||||
my_setopt_str(curl, CURLOPT_COOKIEFILE, config->cookiefile);
|
my_setopt_str(curl, CURLOPT_COOKIEFILE, config->cookiefile);
|
||||||
/* cookie jar was added in 7.9 */
|
/* cookie jar was added in 7.9 */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user