Subject: Re: libssh2 master aff9c82 channel_write: move some logic to _libssh2_channel_write

Re: libssh2 master aff9c82 channel_write: move some logic to _libssh2_channel_write

From: Peter Stuge <peter_at_stuge.se>
Date: Fri, 12 Nov 2010 20:19:40 +0100

Daniel Stenberg wrote:
>> 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().

Cool!

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-11-12