Incorrect use of gethostname' replaced by correct use of k_gethostname'.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@699 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-08-31 20:58:23 +00:00
parent 822330e047
commit 8b2a5d95d8

View File

@@ -23,7 +23,7 @@ klogin(char *name, char *password)
struct hostent *hp;
gethostname(hostname);
k_gethostname(hostname, sizeof(hostname));
phost = krb_get_phost(hostname);
krb_get_lrealm(realm, 0);