diff svr-session.c @ 21:d7cc5b484a2e

- Port restriction code back in - Remove bad strerror() logging
author Matt Johnston <matt@ucc.asn.au>
date Tue, 22 Jun 2004 10:47:16 +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	Tue Jun 22 10:47:16 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 */