On Tue, 30 Aug 2011, liuzl wrote:
adjust the remote window_size
Thanks. This patch seems to imply that _libssh2_transport_send() can in fact return a positive number that you shouldn't treat as an error? Or why did you feel the need to check rc for being less than zero?
_libssh2_transport_send() is documented to only return 0 on success and a negative value on error so this change shouldn't be required.
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel