missing important line :-(
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3493 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user