summaryrefslogtreecommitdiffstats
path: root/libssh/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/session.c')
-rw-r--r--libssh/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/session.c b/libssh/session.c
index b346ddb..264855b 100644
--- a/libssh/session.c
+++ b/libssh/session.c
@@ -182,7 +182,7 @@ int ssh_handle_packets(SSH_SESSION *session){
}
packet_parse(session);
++i;
- } while(r>0 && i<5);
+ } while(r>0);
leave_function();
return r;
}