k_gethostname -> gethostname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4116 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user