From 89aac630ee96d2c1e877f815142b144992efcb00 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 8 Apr 2009 20:29:48 +0000 Subject: [PATCH] Fix return value. Thanks to Norbert Kiesel for the patch. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@436 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/kex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }