From: Theodore Tso Date: Tue, 29 Sep 1998 23:26:45 +0000 (+0000) Subject: Don't use h_errno, it's not fully portable, and it's not worth it X-Git-Tag: krb5-1.1-beta1~530 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3a87d26bdd294cd42a0987dacea73615824ddf53;p=krb5.git Don't use h_errno, it's not fully portable, and it's not worth it git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10949 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index a535839f9..1984531d1 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,8 @@ +Tue Sep 29 19:25:09 1998 Theodore Y. Ts'o + + * ftpd.c (auth_data): Don't use h_errno, it's not fully portable, + and it's not worth it. + 1998-08-28 Geoffrey King * ftpd.c (login): New function. Essentially, the old pass diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index 7741eac84..d31181af7 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -2058,8 +2058,8 @@ char *data; return 0; } if (!(hp = gethostbyname(localname))) { - reply(501, "couldn't canonicalize local hostname (%d)\n", h_errno); - syslog(LOG_ERR, "Couldn't canonicalize local hostname (%d)", h_errno); + reply(501, "couldn't canonicalize local hostname\n"); + syslog(LOG_ERR, "Couldn't canonicalize local hostname"); return 0; } strcpy(localname, hp->h_name);