diff options
author | Steve Holme <steve_holme@hotmail.com> | 2015-09-04 07:11:09 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2015-11-09 22:25:08 +0000 |
commit | eaa98cef8d31e40327c4db672d401578733140d2 (patch) | |
tree | d196cbefae3756d1eb845def076d62cfd4fc1041 /src/tool_operate.c | |
parent | 4e3d39690079121e173bd0319e1fa61bc95d31a3 (diff) | |
download | curl-eaa98cef8d31e40327c4db672d401578733140d2.tar.gz |
oauth2: Don't use XOAUTH2 in OAuth 2.0 variables
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r-- | src/tool_operate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index 41a71dd73..4a67c0967 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -851,8 +851,8 @@ static CURLcode operate_do(struct GlobalConfig *global, else if(!config->use_metalink) my_setopt(curl, CURLOPT_HEADER, config->include_headers?1L:0L); - if(config->xoauth2_bearer) - my_setopt_str(curl, CURLOPT_XOAUTH2_BEARER, config->xoauth2_bearer); + if(config->oauth_bearer) + my_setopt_str(curl, CURLOPT_XOAUTH2_BEARER, config->oauth_bearer); #if !defined(CURL_DISABLE_PROXY) { |