- Fixed a couple of compile warnings

- First public monotone import

--HG--
extra : convert_revision : 79e029a8b3adf823f0b6f7d6b1b5c4b9ab868eaa
This commit is contained in:
Matt Johnston 2004-11-27 19:58:34 +00:00
parent 96823c424d
commit 3e53f28f6e
2 changed files with 3 additions and 3 deletions

View File

@ -123,7 +123,7 @@ static void cli_session_init() {
/* Auth */ /* Auth */
cli_ses.lastpubkey = NULL; cli_ses.lastpubkey = NULL;
cli_ses.lastauthtype = NULL; cli_ses.lastauthtype = 0;
/* For printing "remote host closed" for the user */ /* For printing "remote host closed" for the user */
ses.remoteclosed = cli_remoteclosed; ses.remoteclosed = cli_remoteclosed;

View File

@ -1401,8 +1401,8 @@ lastlog_filetype(char *filename)
{ {
struct stat st; struct stat st;
if (stat(LASTLOG_FILE, &st) != 0) { if (stat(filename, &st) != 0) {
dropbear_log(LOG_WARNING, "lastlog_perform_login: Couldn't stat %s: %s", LASTLOG_FILE, dropbear_log(LOG_WARNING, "lastlog_perform_login: Couldn't stat %s: %s", filename,
strerror(errno)); strerror(errno));
return 0; return 0;
} }