Subject: Re: [PATCH] libssh2_channel_receive_window_adjust: adjust the remote window_size

Re: [PATCH] libssh2_channel_receive_window_adjust: adjust the remote window_size

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 30 Aug 2011 11:53:50 +0200 (CEST)

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
Received on 2011-08-30