diff options
author | Steve Holme <steve_holme@hotmail.com> | 2015-09-04 06:56:26 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2015-11-09 22:25:08 +0000 |
commit | 4e3d39690079121e173bd0319e1fa61bc95d31a3 (patch) | |
tree | 3874ce56cf87307fc22a2d582fa88d165a232369 /src | |
parent | f54a4aa9a383c93065735e441355c49ef42129f4 (diff) |
oauth2: Use OAuth 2.0 rather than XOAUTH2 in comments
When referring to OAuth 2.0 we should use the official name rather the
SASL mechanism name.
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_cfgable.h | 2 | ||||
-rw-r--r-- | src/tool_getparam.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h index 826b7fe1f..c3db4c191 100644 --- a/src/tool_cfgable.h +++ b/src/tool_cfgable.h @@ -208,7 +208,7 @@ struct OperationConfig { #ifdef CURLDEBUG bool test_event_based; #endif - char *xoauth2_bearer; /* XOAUTH2 bearer token */ + char *xoauth2_bearer; /* OAuth 2.0 bearer token */ bool nonpn; /* enable/disable TLS NPN extension */ bool noalpn; /* enable/disable TLS ALPN extension */ char *unix_socket_path; /* path to Unix domain socket */ diff --git a/src/tool_getparam.c b/src/tool_getparam.c index 662c6eea2..c84cc2646 100644 --- a/src/tool_getparam.c +++ b/src/tool_getparam.c @@ -495,7 +495,7 @@ ParameterError getparameter(char *flag, /* f or -long-flag */ case 'b': /* egd-file */ GetStr(&config->egd_file, nextarg); break; - case 'B': /* XOAUTH2 Bearer */ + case 'B': /* OAuth 2.0 bearer token */ GetStr(&config->xoauth2_bearer, nextarg); break; case 'c': /* connect-timeout */ |