]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 2321 : Range tests failing.
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 25 Apr 2008 08:36:48 +0000 (20:36 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 25 Apr 2008 08:36:48 +0000 (20:36 +1200)
src/HttpHdrRange.cc

index 410404bcf6406f01926407689e76339d3e80c22f..a12265177396fa4bdcacd77dc5b3f5c681df8194 100644 (file)
@@ -260,7 +260,7 @@ HttpHdrRange::parseInit(const String * range_spec)
         return 0;
 
     /* skip "bytes="; hack! */
-    pos = range_spec->buf() + 5;
+    pos = range_spec->buf() + 6;
 
     /* iterate through comma separated list */
     while (strListGetItem(range_spec, ',', &item, &ilen, &pos)) {