aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-07-12 22:33:07 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-07-12 22:33:07 +0000
commit379ff53dc964ee1dc9442dac230c87a595e06a12 (patch)
treee95b6fe5abe71414f507d85ebcfea63b3d2468b3 /slirp/sbuf.c
parentwin32 compile (diff)
downloadqemu-kvm-379ff53dc964ee1dc9442dac230c87a595e06a12.tar.gz
qemu-kvm-379ff53dc964ee1dc9442dac230c87a595e06a12.tar.bz2
qemu-kvm-379ff53dc964ee1dc9442dac230c87a595e06a12.zip
win32 compile
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1016 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/sbuf.c')
-rw-r--r--slirp/sbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/sbuf.c b/slirp/sbuf.c
index 04fb97ddc..d6726c94d 100644
--- a/slirp/sbuf.c
+++ b/slirp/sbuf.c
@@ -106,7 +106,7 @@ sbappend(so, m)
* ottherwise it'll arrive out of order, and hence corrupt
*/
if (!so->so_rcv.sb_cc)
- ret = write(so->s, m->m_data, m->m_len);
+ ret = send(so->s, m->m_data, m->m_len, 0);
if (ret <= 0) {
/*