summaryrefslogtreecommitdiff
path: root/serverloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-10-14 12:33:48 +1100
committerDamien Miller <djm@mindrot.org>2000-10-14 12:33:48 +1100
commit15b2952cd83522051bafd23766ca1b75edfed124 (patch)
tree85a8e71d49c498b1eafe47762008fc6643d34b24 /serverloop.c
parent60819b44bdd81b08844a29c9c70c32b19594b40b (diff)
- (djm) Revert SSH2 serverloop hack, will find a better way.
Diffstat (limited to 'serverloop.c')
-rw-r--r--serverloop.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/serverloop.c b/serverloop.c
index 8ee93b3b..25320348 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -676,8 +676,6 @@ server_loop2(void)
session_close_by_pid(pid, status);
child_terminated = 0;
signal(SIGCHLD, sigchld_handler2);
- if (used_sessions() == 0)
- break;
}
channel_after_select(&readset, &writeset);
process_input(&readset);