diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2008-03-03 15:42:25 +0000 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2008-03-03 15:42:25 +0000 |
commit | 21c547689aaffcea3045df0359315115e2e4c0b0 (patch) | |
tree | b2ead58b5db884a7290a9328e2fb6bbea54d6625 /libssh | |
parent | 01470097c6ff22b3c1a8c4383ae08a2ad3ce0ff8 (diff) | |
download | libssh-21c547689aaffcea3045df0359315115e2e4c0b0.tar.gz libssh-21c547689aaffcea3045df0359315115e2e4c0b0.tar.xz libssh-21c547689aaffcea3045df0359315115e2e4c0b0.zip |
Rodolphe Rocca fixes
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@135 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh')
-rw-r--r-- | libssh/channels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/channels.c b/libssh/channels.c index 45c6d6a4..b9f757df 100644 --- a/libssh/channels.c +++ b/libssh/channels.c @@ -824,7 +824,7 @@ int channel_poll(CHANNEL *channel, int is_stderr){ } if(channel->remote_eof) return 1; - return buffer_get_len(buffer); + return buffer_get_rest_len(buffer); } /* nonblocking read on the specified channel. it will return <=len bytes of data read |