summaryrefslogtreecommitdiffhomepage
path: root/svr-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-service.c')
-rw-r--r--svr-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-service.c b/svr-service.c
index 4154df4..7b717bf 100644
--- a/svr-service.c
+++ b/svr-service.c
@@ -56,7 +56,7 @@ void recv_msg_service_request() {
/* ssh-connection */
if (len == SSH_SERVICE_CONNECTION_LEN &&
(strncmp(SSH_SERVICE_CONNECTION, name, len) == 0)) {
- if (svr_ses.authstate.authdone != 1) {
+ if (ses.authdone != 1) {
dropbear_exit("request for connection before auth");
}