From 372d1e727b03eadd1f7c707cc08ed5203bac9921 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Tue, 17 Jun 2008 01:52:11 +0000 Subject: fixed a bug in the channel windows. Fixed the window growing on packet receive git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@175 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libssh/session.c') 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; } -- cgit