aboutsummaryrefslogtreecommitdiff
path: root/src/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/packet.c')
-rw-r--r--src/packet.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/packet.c b/src/packet.c
index a97db93b..65f97248 100644
--- a/src/packet.c
+++ b/src/packet.c
@@ -433,9 +433,6 @@ static int ssh_packet_write(ssh_session session) {
rc=ssh_socket_write(session->socket,
ssh_buffer_get_begin(session->out_buffer),
ssh_buffer_get_len(session->out_buffer));
- if(rc == SSH_OK){
- rc=ssh_socket_nonblocking_flush(session->socket);
- }
leave_function();
return rc;
}