mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
client: Fix the build.
This commit is contained in:
@@ -112,7 +112,6 @@ static int callback_receive_banner(const void *data, size_t len, void *user) {
|
|||||||
buffer[i] = '\0';
|
buffer[i] = '\0';
|
||||||
str = strdup(buffer);
|
str = strdup(buffer);
|
||||||
if (str == NULL) {
|
if (str == NULL) {
|
||||||
leave_function();
|
|
||||||
return SSH_ERROR;
|
return SSH_ERROR;
|
||||||
}
|
}
|
||||||
/* number of bytes read */
|
/* number of bytes read */
|
||||||
|
|||||||
Reference in New Issue
Block a user