mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-02 01:17:52 +03:00
cpp: Fixed return value of userauthAutopubkey.
This commit is contained in:
@@ -131,7 +131,7 @@ public:
|
||||
* @throws SshException on error
|
||||
* @see ssh_userauth_autopubkey
|
||||
*/
|
||||
int userauthAutopubkey(){
|
||||
void userauthAutopubkey(void){
|
||||
int ret=ssh_userauth_autopubkey(c_session,NULL);
|
||||
if(ret==SSH_ERROR)
|
||||
ssh_throw(ret);
|
||||
|
||||
Reference in New Issue
Block a user