correct typo

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2499 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-20 14:31:04 +00:00
parent 4713ac3fda
commit 4886c8add4

View File

@@ -78,7 +78,7 @@ krb5_get_host_realm(krb5_context context,
if (hostent == NULL && addr.s_addr != INADDR_NONE)
hostent = gethostbyaddr ((const char *)&addr, sizeof(addr), AF_INET);
if (hostent != NULL)
host = hostent->h_addr;
host = hostent->h_name;
*realms = malloc(2 * sizeof(char*));
if (*realms == NULL)