Fixing compilation problems on Linux.
This commit is contained in:
parent
3ee77bc93d
commit
56723c2b3d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user