Subject: Re: ssh-agent support

Re: ssh-agent support

From: Daiki Ueno <ueno_at_unixuser.org>
Date: Mon, 21 Dec 2009 20:32:34 +0900

Peter Stuge <peter_at_stuge.se> writes:

> Please check the logic in libssh2_agent_connect() ? It looks like it
> will return failure if _any_ of possibly several supported backends
> are not running, rather than failing when _none_ of them are
> reachable? Also the comment mentions NULL, but code returns 0.

Thanks! Of course the comment should be:

 * Returns:
 * 0 if successfully connected to ssh-agent
 * [negative] on errors

I will post a patch for this, and the man pages for libssh2_agent_*
soon.

Regards,

-- 
Daiki Ueno
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-12-21