On 24 February 2010 10:12, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Tue, 23 Feb 2010, Alexander Lamaison wrote:
>
>> Why is it a macro rather than a function?
>>
>> Can we make it a function that return the error code we pass it?
... snip
> Oh I'm all for that! It'll clean up things.
As well as changing the libssh2_knownhost_check error value back to
its original LIBSSH2_KNOWNHOST_FAILURE, this new patch changes
libssh2_error into a function and puts its implementation in misc.c.
Let me know what you think.
Alex
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel