diff options
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/serverloop.c b/serverloop.c index 85fc8d3af..47bc168b2 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: serverloop.c,v 1.180 2015/12/04 16:41:28 markus Exp $ */ | 1 | /* $OpenBSD: serverloop.c,v 1.181 2016/01/14 16:17:40 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -78,7 +78,6 @@ | |||
78 | #include "dispatch.h" | 78 | #include "dispatch.h" |
79 | #include "auth-options.h" | 79 | #include "auth-options.h" |
80 | #include "serverloop.h" | 80 | #include "serverloop.h" |
81 | #include "roaming.h" | ||
82 | #include "ssherr.h" | 81 | #include "ssherr.h" |
83 | 82 | ||
84 | extern ServerOptions options; | 83 | extern ServerOptions options; |
@@ -399,11 +398,8 @@ process_input(fd_set *readset) | |||
399 | 398 | ||
400 | /* Read and buffer any input data from the client. */ | 399 | /* Read and buffer any input data from the client. */ |
401 | if (FD_ISSET(connection_in, readset)) { | 400 | if (FD_ISSET(connection_in, readset)) { |
402 | int cont = 0; | 401 | len = read(connection_in, buf, sizeof(buf)); |
403 | len = roaming_read(connection_in, buf, sizeof(buf), &cont); | ||
404 | if (len == 0) { | 402 | if (len == 0) { |
405 | if (cont) | ||
406 | return; | ||
407 | verbose("Connection closed by %.100s", | 403 | verbose("Connection closed by %.100s", |
408 | get_remote_ipaddr()); | 404 | get_remote_ipaddr()); |
409 | connection_closed = 1; | 405 | connection_closed = 1; |