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

modules/http/byterange_filter.c

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