Daniel Stenberg wrote:
>> _channel_read() returning 0 is not neccessarily an error.
>
> In my reading, the man page is quite clear that returning 0 is
> indeed not an error.
Only implicitly. But even if it was more clear, the behavior is quite
counter-intuitive. (Compare read() or even SSL_read() where 0 is a
special case.)
//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-01-07