example HPUX), and it's just not worth the effort to disambiguate
between the different reasons why gethostbyname() might have failed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10948
dc483132-0cff-0310-8789-
dd5450dbe970
+Tue Sep 29 18:58:46 1998 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * client.c (main): Don't use h_errno at all; it doesn't work on
+ all platforms (for example HPUX), and it's just not worth
+ the effort to disambiguate between the different reasons
+ why gethostbyname() might have failed.
+
1998-07-05 <hartmans@fundsxpress.com>
* client.c (main): do not declare h_errno
if ((host = gethostbyname (argv[1])) == NULL)
{
-
-
- if (h_errno == HOST_NOT_FOUND)
- fprintf (stderr, "uu-client: unknown host \"%s\".\n", argv[1]);
- else
- fprintf (stderr, "uu-client: can't get address of host \"%s\".\n", argv[1]);
+ fprintf (stderr, "uu-client: can't get address of host \"%s\".\n", argv[1]);
return 3;
}