summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-08 20:29:48 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-08 20:29:48 +0000
commit89aac630ee96d2c1e877f815142b144992efcb00 (patch)
tree237e1ae71f01f3d199469129f53d529cf6ab432e
parentabf9ccdc5c911f66f19140504974b3606cdb9f26 (diff)
downloadlibssh-89aac630ee96d2c1e877f815142b144992efcb00.tar.gz
libssh-89aac630ee96d2c1e877f815142b144992efcb00.tar.xz
libssh-89aac630ee96d2c1e877f815142b144992efcb00.zip
Fix return value.
Thanks to Norbert Kiesel <nkiesel@tbdnetworks.com> for the patch. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@436 7dcaeef0-15fb-0310-b436-a5af3365683c
-rw-r--r--libssh/kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/kex.c b/libssh/kex.c
index 7d169b75..a0dae95c 100644
--- a/libssh/kex.c
+++ b/libssh/kex.c
@@ -782,5 +782,5 @@ error:
publickey_free(host);
leave_function();
- return -1;
+ return rc;
}