summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/ssh.c b/sys/src/cmd/ssh.c
index 2933686f4..7aa8d1bd8 100644
--- a/sys/src/cmd/ssh.c
+++ b/sys/src/cmd/ssh.c
@@ -1278,7 +1278,7 @@ Next1: switch(recvpkt()){
/* parent reads and dispatches packets */
if(n > 0) {
send.pid = n;
- while((send.eof|recv.eof) == 0){
+ while(recv.eof == 0){
recvpkt();
qlock(&sl);
dispatch();