From: Amos Jeffries Date: Fri, 25 Apr 2008 08:45:27 +0000 (+1200) Subject: Author: Alexander Lukyanov X-Git-Tag: SQUID_3_0_STABLE5~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=647b34e13ee1625ced939aef02591b558192d70c;p=thirdparty%2Fsquid.git Author: Alexander Lukyanov Bug 2321: Range tests failing. --- diff --git a/src/HttpHdrRange.cc b/src/HttpHdrRange.cc index 410404bcf6..a122651773 100644 --- a/src/HttpHdrRange.cc +++ b/src/HttpHdrRange.cc @@ -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)) {