On Fri, 12 Jun 2009, Phillip Wu wrote:
> I have looked at the code for channel_read and it appears that it returns 0
> when the remote end has closed the channel:
...
> I think that the channel_read routine should return
> LIBSSH2_ERROR_CHANNEL_CLOSED rather than 0.
But isn't a return code of 0 basically implying that the end of the transfer
is reached anyway? Can it actually return 0 in any other situation?
-- / daniel.haxx.se ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ libssh2-devel mailing list libssh2-devel_at_lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-develReceived on 2009-06-13