Subject: Re: libssh2 master 4cf935a inputchecks: make lots of API functions check for NULL pointers

Re: libssh2 master 4cf935a inputchecks: make lots of API functions check for NULL pointers

From: Alexander Lamaison <swish_at_lammy.co.uk>
Date: Fri, 11 Jun 2010 12:23:36 +0100

On 11 June 2010 12:18, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Fri, 11 Jun 2010, Alexander Lamaison wrote:
>
>> These should all call _libssh2_error before returning NULL or and error
>> code.
>
> Nope. Since there's no pointer given, there's no accessible 'session' so
> _libssh2_error() can't be used...

Right you are. My bad.

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