summaryrefslogtreecommitdiffstats
path: root/libssh/session.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2008-06-17 01:52:11 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2008-06-17 01:52:11 +0000
commit372d1e727b03eadd1f7c707cc08ed5203bac9921 (patch)
tree2dd2904ecfc38808e60c30b2590bf831807d165d /libssh/session.c
parentff515b55282a62cb7c39d7c72d48fa8e1d2b11e4 (diff)
downloadlibssh-372d1e727b03eadd1f7c707cc08ed5203bac9921.tar.gz
libssh-372d1e727b03eadd1f7c707cc08ed5203bac9921.tar.xz
libssh-372d1e727b03eadd1f7c707cc08ed5203bac9921.zip
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
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;
}