diff options
Diffstat (limited to 'slirp/sbuf.c')
-rw-r--r-- | slirp/sbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/sbuf.c b/slirp/sbuf.c index 04fb97ddc8..d6726c94de 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) { /* |