missing important line :-(

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3493 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-09-13 02:02:42 +00:00
parent be563f32d7
commit e4afd9c6e2

View File

@@ -2143,6 +2143,7 @@ tn(int argc, char **argv)
host = gethostbyname(hostp);
#endif
if (host) {
strncpy(_hostname, host->h_name, sizeof(_hostname));
family = host->h_addrtype;
switch(family) {