summaryrefslogtreecommitdiffstats
path: root/libssh/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/client.c')
-rw-r--r--libssh/client.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libssh/client.c b/libssh/client.c
index 9a9d6a0..a7d803b 100644
--- a/libssh/client.c
+++ b/libssh/client.c
@@ -234,10 +234,6 @@ int ssh_send_banner(ssh_session session, int server) {
return -1;
}
- if (ssh_socket_blocking_flush(session->socket) != SSH_OK) {
- leave_function();
- return -1;
- }
#ifdef WITH_PCAP
if(session->pcap_ctx)
ssh_pcap_context_write(session->pcap_ctx,SSH_PCAP_DIR_OUT,buffer,strlen(buffer),strlen(buffer));