]> granicus.if.org Git - apache/commitdiff
The extra (n < 1) check is redundant, leftover from pre-APR code.
authorManoj Kasichainula <manoj@apache.org>
Tue, 30 Nov 1999 03:36:33 +0000 (03:36 +0000)
committerManoj Kasichainula <manoj@apache.org>
Tue, 30 Nov 1999 03:36:33 +0000 (03:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84192 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_protocol.c

index 6f7bfc79eab98e7959fb304f0bddcde5e0e3b539..94b57ff2e27a7924ab750a852bf8d08c788eb613 100644 (file)
@@ -2045,8 +2045,7 @@ API_EXPORT(long) ap_send_fd_length(ap_file_t *fd, request_rec *r, long length)
         n = o;
         do {
             rv = ap_read(fd, buf, &n);
-        } while (rv == APR_EINTR && !ap_is_aborted(r->connection) &&
-                 (n < 1));
+        } while (rv == APR_EINTR && !ap_is_aborted(r->connection));
 
         if (n < 1) {
             break;