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:
Assar Westerlund
1998-05-01 05:16:55 +00:00
parent 44680760bf
commit 228ed9b74a
3 changed files with 1 additions and 18 deletions

View File

@@ -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;
}