summaryrefslogtreecommitdiffhomepage
path: root/svr-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-02-17 19:29:51 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-02-17 19:29:51 +0800
commit7e8094d53a1c01ac671156ff2e67157b64d01a3a (patch)
treec88345f5bdd118eb9414dff5ab5c307bb1806c57 /svr-session.c
parentf7a664f127d3dfde0e7c7a9ca74b1d14f9a2f983 (diff)
parentf042eb41ab0d31f8ba0c5ccc9c848ad01f08f986 (diff)
merge from main
--HG-- branch : fuzz
Diffstat (limited to 'svr-session.c')
-rw-r--r--svr-session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/svr-session.c b/svr-session.c
index c0dba5d..4b351e6 100644
--- a/svr-session.c
+++ b/svr-session.c
@@ -125,7 +125,7 @@ void svr_session(int sock, int childpipe) {
ses.isserver = 1;
/* We're ready to go now */
- sessinitdone = 1;
+ ses.init_done = 1;
/* exchange identification, version etc */
send_session_identification();
@@ -137,7 +137,7 @@ void svr_session(int sock, int childpipe) {
/* Run the main for loop. NULL is for the dispatcher - only the client
* code makes use of it */
- session_loop(NULL);
+ session_loop(svr_chansess_checksignal);
/* Not reached */
@@ -153,7 +153,7 @@ void svr_dropbear_exit(int exitcode, const char* format, va_list param) {
vsnprintf(exitmsg, sizeof(exitmsg), format, param);
/* Add the prefix depending on session/auth state */
- if (!sessinitdone) {
+ if (!ses.init_done) {
/* before session init */
snprintf(fullmsg, sizeof(fullmsg), "Early exit: %s", exitmsg);
} else if (ses.authstate.authdone) {