Mercurial > dropbear
diff svr-session.c @ 14:5ae28f6101c1
Don't bother printing errno in exit messages (the code wasn't valid anyway)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 07 Jun 2004 11:36:07 +0000 |
parents | 7f77962de998 |
children | c1e5d9195402 |
line wrap: on
line diff
--- a/svr-session.c Thu Jun 03 18:08:34 2004 +0000 +++ b/svr-session.c Mon Jun 07 11:36:07 2004 +0000 @@ -183,12 +183,6 @@ "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 */