unifdef -DHAVE_H_ERRNO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4828 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -114,12 +114,7 @@ connect_host (char *host, char *user, des_cblock *key,
|
||||
hostent = gethostbyname (host);
|
||||
if (hostent == NULL) {
|
||||
warnx ("gethostbyname '%s' failed: %s", host,
|
||||
#ifdef HAVE_H_ERRNO
|
||||
hstrerror(h_errno)
|
||||
#else
|
||||
"unknown error"
|
||||
#endif
|
||||
);
|
||||
hstrerror(h_errno));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user