diff options
author | jim <jim@13f79535-47bb-0310-9956-ffa450edef68> | 2008-05-07 17:32:31 +0000 |
---|---|---|
committer | jim <jim@13f79535-47bb-0310-9956-ffa450edef68> | 2008-05-07 17:32:31 +0000 |
commit | 83001ac8a288593697e7cf84d9ec3e035e3f9e0c (patch) | |
tree | 4b5e7a35975ccd266b05616e7e886b77e4e9a4e6 /network_io | |
parent | bc1a12d238a0c565fa8f0f48ed42a2bcd086371f (diff) | |
download | libapr-83001ac8a288593697e7cf84d9ec3e035e3f9e0c.tar.gz |
Make Darwin's sendfile() really work :)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@654185 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io')
-rw-r--r-- | network_io/unix/sendrecv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/network_io/unix/sendrecv.c b/network_io/unix/sendrecv.c index 2362b215e..ab7eba79c 100644 --- a/network_io/unix/sendrecv.c +++ b/network_io/unix/sendrecv.c @@ -472,7 +472,6 @@ apr_status_t apr_socket_sendfile(apr_socket_t * sock, apr_file_t * file, if (errno == EAGAIN) { if (sock->timeout > 0) { sock->options |= APR_INCOMPLETE_WRITE; - rv = 0; } /* BSD's sendfile can return -1/EAGAIN even if it * sent bytes. Sanitize the result so we get normal EAGAIN |