aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-12-30 23:14:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-12-30 23:14:00 +0000
commit99e9938617cb80be6732eb7ced31e93811910368 (patch)
treea1bcdc1a67d2bb91363dc32a0e01bd99c14d70dc /src
parent6c6dc3f879718492c4902113815aac95cbbebfd8 (diff)
s/CURLOPT_WRITEHEADER/CURLOPT_HEADERDATA simply because it is a better name
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a4b858b55..39120913f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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_POSTQUOTE, config->postquote);
my_setopt(curl, CURLOPT_PREQUOTE, config->prequote);
- my_setopt(curl, CURLOPT_WRITEHEADER,
+ my_setopt(curl, CURLOPT_HEADERDATA,
config->headerfile?&heads:NULL);
my_setopt_str(curl, CURLOPT_COOKIEFILE, config->cookiefile);
/* cookie jar was added in 7.9 */