summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c
index cdd32dbbe..4805f3c83 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -59,7 +59,7 @@
59 */ 59 */
60 60
61#include "includes.h" 61#include "includes.h"
62RCSID("$OpenBSD: clientloop.c,v 1.52 2001/02/28 08:45:39 markus Exp $"); 62RCSID("$OpenBSD: clientloop.c,v 1.53 2001/03/06 01:08:27 millert Exp $");
63 63
64#include "ssh.h" 64#include "ssh.h"
65#include "ssh1.h" 65#include "ssh1.h"
@@ -491,7 +491,7 @@ client_process_net_input(fd_set * readset)
491 * There is a kernel bug on Solaris that causes select to 491 * There is a kernel bug on Solaris that causes select to
492 * sometimes wake up even though there is no data available. 492 * sometimes wake up even though there is no data available.
493 */ 493 */
494 if (len < 0 && errno == EAGAIN) 494 if (len < 0 && (errno == EAGAIN || errno == EINTR))
495 len = 0; 495 len = 0;
496 496
497 if (len < 0) { 497 if (len < 0) {