aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-09-04 06:56:26 +0100
committerSteve Holme <steve_holme@hotmail.com>2015-11-09 22:25:08 +0000
commit4e3d39690079121e173bd0319e1fa61bc95d31a3 (patch)
tree3874ce56cf87307fc22a2d582fa88d165a232369 /lib
parentf54a4aa9a383c93065735e441355c49ef42129f4 (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 'lib')
-rw-r--r--lib/url.c2
-rw-r--r--lib/urldata.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index 94b906d77..89274f769 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1700,7 +1700,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
case CURLOPT_XOAUTH2_BEARER:
/*
- * XOAUTH2 bearer token to use in the operation
+ * OAuth 2.0 bearer token to use in the operation
*/
result = setstropt(&data->set.str[STRING_BEARER],
va_arg(param, char *));
diff --git a/lib/urldata.h b/lib/urldata.h
index 6ddf15e37..4500623c1 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -915,7 +915,7 @@ struct connectdata {
char *passwd; /* password string, allocated */
char *options; /* options string, allocated */
- char *xoauth2_bearer; /* bearer token for xoauth2, allocated */
+ char *xoauth2_bearer; /* bearer token for OAuth 2.0, allocated */
char *proxyuser; /* proxy user name string, allocated */
char *proxypasswd; /* proxy password string, allocated */