]> granicus.if.org Git - curl/commitdiff
s/CURLOPT_WRITEHEADER/CURLOPT_HEADERDATA simply because it is a better name
authorDaniel Stenberg <daniel@haxx.se>
Wed, 30 Dec 2009 23:14:00 +0000 (23:14 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 30 Dec 2009 23:14:00 +0000 (23:14 +0000)
src/main.c

index a4b858b55c6274a36086299b423ffabe53866b0f..39120913f1dc69569740cc05a921928d668c8c78 100644 (file)
@@ -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 */