Fixing compilation problems on Linux.

This commit is contained in:
Juan Carlos Luciani 2006-11-06 11:21:26 +00:00
parent 3ee77bc93d
commit 56723c2b3d
2 changed files with 305 additions and 305 deletions

View File

@ -208,7 +208,7 @@ AuthTokenIf_GetAuthToken(
|| strlen(pKrbServiceName) == 0)
{
// The service name will default to host/hostname
pKrbServiceName = malloc(5 /*"host/"*/ + strlen(pHostName) + 1 /*'/0'*/)
pKrbServiceName = malloc(5 /*"host/"*/ + strlen(pHostName) + 1 /*'/0'*/);
if (pKrbServiceName)
{
sprintf(pKrbServiceName, "host/%s", pHostName);