Update instances of some obsolete CURLOPTs to their new names

This commit is contained in:
Dan Fandrich
2014-07-05 16:59:12 +02:00
parent 8ffe6f5b57
commit 3ae2b6cd7f
10 changed files with 12 additions and 13 deletions

View File

@@ -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.