1
0
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:
Andreas Schneider
2010-06-02 10:01:46 +02:00
parent a138a52021
commit 8f0d40a1dd

View File

@@ -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);