diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/appl/gssftp/ftpd/ChangeLog | 5 | ||||
| -rw-r--r-- | src/appl/gssftp/ftpd/ftpd.c | 4 |
2 files changed, 7 insertions, 2 deletions
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 <tytso@mit.edu> + + * 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 <gjking@mit.edu> * 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); |
