Don't bother printing errno in exit messages (the code wasn't valid anyway)

--HG--
extra : convert_revision : 84b4b2b17c096faebd10975a08e91954e2014d82
This commit is contained in:
Matt Johnston 2004-06-07 11:36:07 +00:00
parent ae1b0b07cf
commit 8977fbbd97

View File

@ -183,12 +183,6 @@ void svr_dropbear_exit(int exitcode, const char* format, va_list param) {
"exit before auth: %s", format);
}
if (errno != 0) {
/* XXX - is this valid? */
snprintf(fmtbuf, sizeof(fmtbuf), "%s [%d %s]", fmtbuf,
errno, strerror(errno));
}
_dropbear_log(LOG_INFO, fmtbuf, param);
/* must be after we've done with username etc */