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:18:36 +0200
commit2e81dd61dde4165cb6c34e13df60b86850dd6ab8 (patch)
tree6665fa59d7416442ed92f80b60f47ac75efbc6ee /src
parentf2c2687ca6c6c7e25c9a547227027ab28eb4fc16 (diff)
downloadlibssh-2e81dd61dde4165cb6c34e13df60b86850dd6ab8.tar.gz
libssh-2e81dd61dde4165cb6c34e13df60b86850dd6ab8.tar.xz
libssh-2e81dd61dde4165cb6c34e13df60b86850dd6ab8.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 */