From 3ae2b6cd7ff6eda5c6856efb6b2cdf52b61e980c Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 5 Jul 2014 16:59:12 +0200 Subject: Update instances of some obsolete CURLOPTs to their new names --- lib/url.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/url.c') diff --git a/lib/url.c b/lib/url.c index e09a11a43..27b376f9c 100644 --- a/lib/url.c +++ b/lib/url.c @@ -1430,7 +1430,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, break; #endif - case CURLOPT_WRITEHEADER: + case CURLOPT_HEADERDATA: /* * Custom pointer to pass the header write callback function */ @@ -1443,7 +1443,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, */ data->set.errorbuffer = va_arg(param, char *); break; - case CURLOPT_FILE: + case CURLOPT_WRITEDATA: /* * FILE pointer to write to. Or possibly * used as argument to the write callback. -- cgit v1.2.3