aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-10-18 21:18:36 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-10-18 21:19:33 +0200
commitec5278e34dd8271c696fe5f54ebc114dc132fe8c (patch)
tree0075dc317904b20c656c933c4bb8e6bae663d161 /src
parente554f0dc0de402761be7abfeb59b7671894f6169 (diff)
downloadlibssh-ec5278e34dd8271c696fe5f54ebc114dc132fe8c.tar.gz
libssh-ec5278e34dd8271c696fe5f54ebc114dc132fe8c.tar.xz
libssh-ec5278e34dd8271c696fe5f54ebc114dc132fe8c.zip
client: Fix the build.
Diffstat (limited to 'src')
-rw-r--r--src/client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client.c b/src/client.c
index 6d425d33..49bb544e 100644
--- a/src/client.c
+++ b/src/client.c
@@ -112,7 +112,6 @@ static int callback_receive_banner(const void *data, size_t len, void *user) {
buffer[i] = '\0';
str = strdup(buffer);
if (str == NULL) {
- leave_function();
return SSH_ERROR;
}
/* number of bytes read */