+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
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);