summaryrefslogtreecommitdiff
path: root/serverloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'serverloop.c')
-rw-r--r--serverloop.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/serverloop.c b/serverloop.c
index d6089d822..049ea4e46 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: serverloop.c,v 1.77 2001/09/17 21:04:02 markus Exp $"); 38RCSID("$OpenBSD: serverloop.c,v 1.78 2001/10/04 15:05:40 markus Exp $");
39 39
40#include "xmalloc.h" 40#include "xmalloc.h"
41#include "packet.h" 41#include "packet.h"
@@ -196,9 +196,11 @@ retry_select:
196 channel_prepare_select(readsetp, writesetp, maxfdp, nallocp, 0); 196 channel_prepare_select(readsetp, writesetp, maxfdp, nallocp, 0);
197 197
198 if (compat20) { 198 if (compat20) {
199#if 0
199 /* wrong: bad condition XXX */ 200 /* wrong: bad condition XXX */
200 if (channel_not_very_much_buffered_data()) 201 if (channel_not_very_much_buffered_data())
201 FD_SET(connection_in, *readsetp); 202#endif
203 FD_SET(connection_in, *readsetp);
202 } else { 204 } else {
203 /* 205 /*
204 * Read packets from the client unless we have too much 206 * Read packets from the client unless we have too much