Subject: Re: libssh2_error

Re: libssh2_error

From: Alexander Lamaison <swish_at_lammy.co.uk>
Date: Wed, 24 Feb 2010 13:53:08 +0000

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

Received on 2010-02-24