mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
- Fixed a couple of compile warnings
- First public monotone import --HG-- extra : convert_revision : 79e029a8b3adf823f0b6f7d6b1b5c4b9ab868eaa
This commit is contained in:
parent
96823c424d
commit
3e53f28f6e
@ -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;
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user