Fixing compilation problems on Linux.
This commit is contained in:
		| @@ -208,7 +208,7 @@ AuthTokenIf_GetAuthToken( | |||||||
|        || strlen(pKrbServiceName) == 0) |        || strlen(pKrbServiceName) == 0) | ||||||
|    { |    { | ||||||
|       // The service name will default to host/hostname |       // 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) |       if (pKrbServiceName) | ||||||
|       { |       { | ||||||
|          sprintf(pKrbServiceName, "host/%s", pHostName); |          sprintf(pKrbServiceName, "host/%s", pHostName); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user