Fixed problems found during testing of no mech-info changes.

This commit is contained in:
Juan Carlos Luciani
2006-11-06 08:08:04 +00:00
parent a7ff509dce
commit ff6c1b9993
2 changed files with 3 additions and 3 deletions

View File

@@ -211,7 +211,7 @@ AuthTokenIf_GetAuthToken(
pKrbServiceName = malloc(5 /*"host/"*/ + strlen(pHostName) + 1 /*'/0'*/)
if (pKrbServiceName)
{
sprintf("host/%s", pHostName);
sprintf(pKrbServiceName, "host/%s", pHostName);
}
else
{