Peter Stuge <[email protected]> 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

Reply via email to