k_gethostname -> gethostname

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4116 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-12-05 01:47:54 +00:00
parent feccba413e
commit 3a70853f65

View File

@@ -248,7 +248,7 @@ create_and_write_cookie (char *xauthfile,
struct in_addr loopback;
struct hostent *h;
k_gethostname (hostname, sizeof(hostname));
gethostname (hostname, sizeof(hostname));
loopback.s_addr = htonl(INADDR_LOOPBACK);
auth.family = FamilyLocal;