From 5e8f51cb005bdba9e498a5f913c70879db909a54 Mon Sep 17 00:00:00 2001 From: Manoj Kasichainula Date: Tue, 30 Nov 1999 03:36:33 +0000 Subject: [PATCH] The extra (n < 1) check is redundant, leftover from pre-APR code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84192 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_protocol.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 6f7bfc79ea..94b57ff2e2 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -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; -- 2.50.1