diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-06-07 11:36:07 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-06-07 11:36:07 +0000 |
commit | 8977fbbd97d30ed5a064e2f514abfeb22b7f05dd (patch) | |
tree | b13551651ca3002b1ad18e5953e43c11681b33ec /svr-session.c | |
parent | ae1b0b07cf0bfe3e4d8694409bd490ba8c325b95 (diff) |
Don't bother printing errno in exit messages (the code wasn't valid anyway)
--HG--
extra : convert_revision : 84b4b2b17c096faebd10975a08e91954e2014d82
Diffstat (limited to 'svr-session.c')
-rw-r--r-- | svr-session.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/svr-session.c b/svr-session.c index 2a97f94..4310e2b 100644 --- a/svr-session.c +++ b/svr-session.c @@ -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 */ |