diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2014-07-05 16:59:12 +0200 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2014-07-05 22:47:13 +0200 |
commit | 3ae2b6cd7ff6eda5c6856efb6b2cdf52b61e980c (patch) | |
tree | 2a7ed6b30ce8ec8fc1366f7f39333124f6c8fe10 /lib/url.c | |
parent | 8ffe6f5b5761aa77b3e5eae236475b173e9efd2f (diff) |
Update instances of some obsolete CURLOPTs to their new names
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |