]> granicus.if.org Git - apache/commitdiff
Final tuneage
authorJim Jagielski <jim@apache.org>
Fri, 26 Aug 2011 17:39:19 +0000 (17:39 +0000)
committerJim Jagielski <jim@apache.org>
Fri, 26 Aug 2011 17:39:19 +0000 (17:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1162180 13f79535-47bb-0310-9956-ffa450edef68

modules/http/byterange_filter.c

index 90897894659518e5eaf45041511fc2cec41c1c9d..2d5adfa6e484eddd124e11241434ba9bf55ba810 100644 (file)
@@ -545,7 +545,7 @@ static int ap_set_byterange(request_rec *r, apr_off_t clength,
         }
         in_merge = 0;
         
-        if !(iend < ostart || start-1 > oend) {
+        if !(iend <= ostart || start-1 >= oend) {
             if (start < ostart) {
                 ostart = start;
                 reversals++;