aboutsummaryrefslogtreecommitdiff
path: root/libssh/packet.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-07-23 08:27:05 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-07-23 08:27:05 +0200
commit8cd0d0040e70b5a1ab0a8d8588190dd88f17ce4f (patch)
treeeb59a0440c4166fdb79eb1ba7c88a1bd0d4c10b2 /libssh/packet.c
parente5542b027bf2a4df0174dab29a806fda05f7cbd8 (diff)
downloadlibssh-8cd0d0040e70b5a1ab0a8d8588190dd88f17ce4f.tar.gz
libssh-8cd0d0040e70b5a1ab0a8d8588190dd88f17ce4f.tar.xz
libssh-8cd0d0040e70b5a1ab0a8d8588190dd88f17ce4f.zip
Removed obsolete socket functions
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 a2a78378..ca8db178 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;
}