Mercurial > dropbear
diff svr-session.c @ 1070:16379795f80b pam
Fix merge again. ses.loop_handler is required for PAM
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 16 Mar 2015 22:10:30 +0800 |
parents | 2fa71c3b2827 |
children |
line wrap: on
line diff
--- a/svr-session.c Mon Mar 16 21:34:05 2015 +0800 +++ b/svr-session.c Mon Mar 16 22:10:30 2015 +0800 @@ -136,6 +136,8 @@ ses.isserver = 1; + ses.loop_handler = svr_sessionloop; + /* We're ready to go now */ sessinitdone = 1; @@ -147,7 +149,7 @@ /* Run the main for loop. NULL is for the dispatcher - only the client * code makes use of it */ - session_loop(svr_sessionloop); + session_loop(); /* Not reached */