Mercurial > dropbear
diff cli-main.c @ 1495:0c16b4ccbd54
make signal flags volatile, simplify handling
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 14 Feb 2018 23:06:01 +0800 |
parents | f787f60f8e45 |
children | 33b872649eb7 |
line wrap: on
line diff
--- a/cli-main.c Wed Feb 14 00:24:44 2018 +0800 +++ b/cli-main.c Wed Feb 14 23:06:01 2018 +0800 @@ -108,7 +108,7 @@ vsnprintf(exitmsg, sizeof(exitmsg), format, param); /* Add the prefix depending on session/auth state */ - if (!sessinitdone) { + if (!ses.init_done) { snprintf(fullmsg, sizeof(fullmsg), "Exited: %s", exitmsg); } else { snprintf(fullmsg, sizeof(fullmsg),