From 8b2a5d95d89118f466f1d71b3c3fbecf41f07027 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 31 Aug 1996 20:58:23 +0000 Subject: [PATCH] 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 --- appl/ftp/ftpd/klogin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appl/ftp/ftpd/klogin.c b/appl/ftp/ftpd/klogin.c index 9bb9d550c..b4de71400 100644 --- a/appl/ftp/ftpd/klogin.c +++ b/appl/ftp/ftpd/klogin.c @@ -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);