cpp: Fixed return value of userauthAutopubkey.
Этот коммит содержится в:
родитель
a138a52021
Коммит
8f0d40a1dd
@ -131,7 +131,7 @@ public:
|
|||||||
* @throws SshException on error
|
* @throws SshException on error
|
||||||
* @see ssh_userauth_autopubkey
|
* @see ssh_userauth_autopubkey
|
||||||
*/
|
*/
|
||||||
int userauthAutopubkey(){
|
void userauthAutopubkey(void){
|
||||||
int ret=ssh_userauth_autopubkey(c_session,NULL);
|
int ret=ssh_userauth_autopubkey(c_session,NULL);
|
||||||
if(ret==SSH_ERROR)
|
if(ret==SSH_ERROR)
|
||||||
ssh_throw(ret);
|
ssh_throw(ret);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user