aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-06-02 10:01:46 +0200
committerAndreas Schneider <asn@cynapses.org>2010-06-02 10:01:46 +0200
commit8f0d40a1dd759c74ae577fafaca6299430fe2002 (patch)
tree15accec8796fe33d9d5e9e1ca8276b379c51fee9 /include/libssh
parenta138a520212f756695f2e9311bcc9990e52c4770 (diff)
downloadlibssh-8f0d40a1dd759c74ae577fafaca6299430fe2002.tar.gz
libssh-8f0d40a1dd759c74ae577fafaca6299430fe2002.tar.xz
libssh-8f0d40a1dd759c74ae577fafaca6299430fe2002.zip
cpp: Fixed return value of userauthAutopubkey.
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/libsshpp.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libsshpp.hpp b/include/libssh/libsshpp.hpp
index c3d93e2..2fe873e 100644
--- a/include/libssh/libsshpp.hpp
+++ b/include/libssh/libsshpp.hpp
@@ -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);