aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_sasl_gssapi.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-08-31 11:45:47 +0100
committerSteve Holme <steve_holme@hotmail.com>2015-08-31 12:43:58 +0100
commitb85043799157e761aa23d7b96a4721ef3b5e4598 (patch)
tree3e3f8ce2dc77732f333c80ea00b2aaad1cd9d217 /lib/curl_sasl_gssapi.c
parenteb8283bb1ad0dd5c826f6b1791e30a6af4b412ae (diff)
sasl: Updated SPN variables and comments for consistency
In places the "host name" and "realm" variable was referred to as "instance" whilst in others it was referred to as "host".
Diffstat (limited to 'lib/curl_sasl_gssapi.c')
-rw-r--r--lib/curl_sasl_gssapi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/curl_sasl_gssapi.c b/lib/curl_sasl_gssapi.c
index 3c6f3ce32..5ff893934 100644
--- a/lib/curl_sasl_gssapi.c
+++ b/lib/curl_sasl_gssapi.c
@@ -43,19 +43,19 @@
/*
* Curl_sasl_build_gssapi_spn()
*
-* This is used to build a SPN string in the format service@host.
+* This is used to build a SPN string in the format service@instance.
*
* Parameters:
*
-* serivce [in] - The service type such as www, smtp, pop or imap.
-* host [in] - The host name or realm.
+* service [in] - The service type such as www, smtp, pop or imap.
+* instance [in] - The host name or realm.
*
* Returns a pointer to the newly allocated SPN.
*/
-char *Curl_sasl_build_gssapi_spn(const char *service, const char *host)
+char *Curl_sasl_build_gssapi_spn(const char *service, const char *instance)
{
/* Generate and return our SPN */
- return aprintf("%s@%s", service, host);
+ return aprintf("%s@%s", service, instance);
}
/*