mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-02 01:17:52 +03:00
Rodolphe Rocca fixes
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@135 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user