Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
13:db2c8e6fb284 | 21:d7cc5b484a2e |
---|---|
181 /* before userauth */ | 181 /* before userauth */ |
182 snprintf(fmtbuf, sizeof(fmtbuf), | 182 snprintf(fmtbuf, sizeof(fmtbuf), |
183 "exit before auth: %s", format); | 183 "exit before auth: %s", format); |
184 } | 184 } |
185 | 185 |
186 if (errno != 0) { | |
187 /* XXX - is this valid? */ | |
188 snprintf(fmtbuf, sizeof(fmtbuf), "%s [%d %s]", fmtbuf, | |
189 errno, strerror(errno)); | |
190 } | |
191 | |
192 _dropbear_log(LOG_INFO, fmtbuf, param); | 186 _dropbear_log(LOG_INFO, fmtbuf, param); |
193 | 187 |
194 /* must be after we've done with username etc */ | 188 /* must be after we've done with username etc */ |
195 common_session_cleanup(); | 189 common_session_cleanup(); |
196 | 190 |