Archive Index
This month's Index
|
Subject: RE : About simple examples
RE : About simple examples
From: Jean-Louis CHARTON <Jean-Louis.CHARTON_at_oikialog.com>
Date: Wed, 1 Apr 2009 19:15:58 +0200
Well, it seems there are other problems in the examples.
Some of the nonblocking samples do things like this:
rc = libssh2_session_startup(session, sock);
rc = libssh2_userauth_password(...)
rc = libssh2_userauth_publickey_fromfile(...)
but since we are in non blocking mode, I believe the code should be:
do {
if (rc) {
and same thing for
JL
------------------------------------------------------------------------------
|