summaryrefslogtreecommitdiff
path: root/network_io/unix/sendrecv.c
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-11-17 12:43:56 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-11-17 12:43:56 +0000
commit69612390cf3c27ff523664a1d7d5fc5480a2b2f9 (patch)
treecbec8ab461ef34dd575891a00d0e2f345797b9c3 /network_io/unix/sendrecv.c
parent376a5eb301a4fef7763ac26a0e64e9b9a579751b (diff)
downloadlibapr-69612390cf3c27ff523664a1d7d5fc5480a2b2f9.tar.gz
* apr/network_io/unix/sendrecv.c
(apr_socket_sendfile): Remove a spurious carriage return from the source. Submitted by: Julian Foad <julianfoad btopenworld.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@76123 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io/unix/sendrecv.c')
-rw-r--r--network_io/unix/sendrecv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network_io/unix/sendrecv.c b/network_io/unix/sendrecv.c
index 9381693ed..002b6e1cc 100644
--- a/network_io/unix/sendrecv.c
+++ b/network_io/unix/sendrecv.c
@@ -316,7 +316,7 @@ apr_status_t apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file,
*len); /* number of bytes to send */
} while (rv == -1 && errno == EINTR);
- if ((rv == -1) && (errno == EAGAIN || errno == EWOULDBLOCK)
+ if ((rv == -1) && (errno == EAGAIN || errno == EWOULDBLOCK)
&& (sock->timeout > 0)) {
do_select:
arv = apr_wait_for_io_or_timeout(NULL, sock, 0);