aboutsummaryrefslogtreecommitdiff
path: root/src/tool_paramhlp.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-09-04 07:11:09 +0100
committerSteve Holme <steve_holme@hotmail.com>2015-11-09 22:25:08 +0000
commiteaa98cef8d31e40327c4db672d401578733140d2 (patch)
treed196cbefae3756d1eb845def076d62cfd4fc1041 /src/tool_paramhlp.c
parent4e3d39690079121e173bd0319e1fa61bc95d31a3 (diff)
oauth2: Don't use XOAUTH2 in OAuth 2.0 variables
Diffstat (limited to 'src/tool_paramhlp.c')
-rw-r--r--src/tool_paramhlp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_paramhlp.c b/src/tool_paramhlp.c
index 28872e678..c26754aeb 100644
--- a/src/tool_paramhlp.c
+++ b/src/tool_paramhlp.c
@@ -519,7 +519,7 @@ CURLcode get_args(struct OperationConfig *config, const size_t i)
bool last = (config->next ? FALSE : TRUE);
/* Check we have a password for the given host user */
- if(config->userpwd && !config->xoauth2_bearer) {
+ if(config->userpwd && !config->oauth_bearer) {
result = checkpasswd("host", i, last, &config->userpwd);
if(result)
return result;