On Fri, 12 Nov 2010, Peter Stuge wrote:

@@ -1994,27 +1994,6 @@ channel_write(LIBSSH2_CHANNEL *channel, int stream_id,

Losing this logging in channel_write() is a bit unfortunate, since there are multiple code paths leading to the function.

No, I recently introduced an additional function "layer" so _libssh2_channel_write() is the function that is used all over internally and channel_write() is only ever called from within _libssh2_channel_write().

I modified the logging to avoid excessive logging and unnecessary checks when _libssh2_channel_write() loops and does multiple calls to channel_write().

--

 / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to