From: Manoj Kasichainula Date: Tue, 30 Nov 1999 03:36:33 +0000 (+0000) Subject: The extra (n < 1) check is redundant, leftover from pre-APR code. X-Git-Tag: 1.3.10~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e8f51cb005bdba9e498a5f913c70879db909a54;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 6f7bfc79eab..94b57ff2e27 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;