You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2004/11/17 13:43:58 UTC
svn commit: rev 76123 - apr/apr/trunk/network_io/unix
Author: jorton
Date: Wed Nov 17 04:43:56 2004
New Revision: 76123
Modified:
apr/apr/trunk/network_io/unix/sendrecv.c
Log:
* apr/network_io/unix/sendrecv.c
(apr_socket_sendfile): Remove a spurious carriage return from the source.
Submitted by: Julian Foad <julianfoad btopenworld.com>
Modified: apr/apr/trunk/network_io/unix/sendrecv.c
==============================================================================
--- apr/apr/trunk/network_io/unix/sendrecv.c (original)
+++ apr/apr/trunk/network_io/unix/sendrecv.c Wed Nov 17 04:43:56 2004
@@ -316,7 +316,7 @@
*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);