apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: rev 76123 - apr/apr/trunk/network_io/unix
Date Wed, 17 Nov 2004 12:43:58 GMT
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);

Mime
View raw message