aboutsummaryrefslogtreecommitdiff
path: root/src/client.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-09-26 22:33:58 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-09-26 22:33:58 +0200
commit75a0281a6b04772b818cb7a6a01216fdf523d206 (patch)
tree63de7051ba09bee96d6b257fdd0c2b4c4778d7ec /src/client.c
parenta92545517ab6d57f8725fa53a7efd8ba7f44e916 (diff)
downloadlibssh-75a0281a6b04772b818cb7a6a01216fdf523d206.tar.gz
libssh-75a0281a6b04772b818cb7a6a01216fdf523d206.tar.xz
libssh-75a0281a6b04772b818cb7a6a01216fdf523d206.zip
Fixed outgoing flow control + writes behaviours
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client.c b/src/client.c
index fcdc87d1..0b55f355 100644
--- a/src/client.c
+++ b/src/client.c
@@ -216,9 +216,6 @@ int ssh_send_banner(ssh_session session, int server) {
if (ssh_socket_write(session->socket, buffer, strlen(buffer)) == SSH_ERROR) {
goto end;
}
- if (ssh_socket_nonblocking_flush(session->socket) == SSH_ERROR){
- goto end;
- }
#ifdef WITH_PCAP
if(session->pcap_ctx)
ssh_pcap_context_write(session->pcap_ctx,SSH_PCAP_DIR_OUT,buffer,strlen(buffer),strlen(buffer));