# HG changeset patch # User Matt Johnston # Date 1086608167 0 # Node ID 5ae28f6101c19954ea4f3cfd0537c5046814caea # Parent db2c8e6fb28460f8604e3cf327cf4e0168e5d4fa Don't bother printing errno in exit messages (the code wasn't valid anyway) diff -r db2c8e6fb284 -r 5ae28f6101c1 svr-session.c --- 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 */