diff options
| author | Theodore Tso <tytso@mit.edu> | 1998-09-29 23:26:45 +0000 |
|---|---|---|
| committer | Theodore Tso <tytso@mit.edu> | 1998-09-29 23:26:45 +0000 |
| commit | 3a87d26bdd294cd42a0987dacea73615824ddf53 (patch) | |
| tree | ca044dafbbb79423eedf6b1e2171b5c5a6eb8373 /src | |
| parent | 8e7094c10bd6b3264ee495555775a93def4ac1e3 (diff) | |
| download | krb5-3a87d26bdd294cd42a0987dacea73615824ddf53.tar.gz krb5-3a87d26bdd294cd42a0987dacea73615824ddf53.tar.xz krb5-3a87d26bdd294cd42a0987dacea73615824ddf53.zip | |
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
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); |
