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".
This commit is contained in:
Steve Holme
2015-08-31 11:45:47 +01:00
parent eb8283bb1a
commit b850437991
4 changed files with 15 additions and 15 deletions

View File

@@ -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);
}
/*