aboutsummaryrefslogtreecommitdiff
path: root/libssh/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/packet.c')
-rw-r--r--libssh/packet.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libssh/packet.c b/libssh/packet.c
index a2a7837..ca8db17 100644
--- a/libssh/packet.c
+++ b/libssh/packet.c
@@ -444,12 +444,10 @@ static int ssh_packet_write(ssh_session session) {
enter_function();
- ssh_socket_write(session->socket,
+ rc=ssh_socket_write(session->socket,
ssh_buffer_get_begin(session->out_buffer),
ssh_buffer_get_len(session->out_buffer));
- rc = packet_flush(session, 0);
-
leave_function();
return rc;
}