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: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 11 Jun 2010 13:18:06 +0200 (CEST)

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...

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