From: rousskov <> Date: Thu, 12 Mar 1998 04:11:47 +0000 (+0000) Subject: - Removed Join method. Range fields are not join-able. X-Git-Tag: SQUID_3_0_PRE1~3863 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e22c234b34de10fae1fbda2250d74b0eaf87c93;p=thirdparty%2Fsquid.git - Removed Join method. Range fields are not join-able. --- diff --git a/src/HttpHdrRange.cc b/src/HttpHdrRange.cc index 87cd399e1a..b341dbbe4d 100644 --- a/src/HttpHdrRange.cc +++ b/src/HttpHdrRange.cc @@ -1,6 +1,6 @@ /* - * $Id: HttpHdrRange.cc,v 1.4 1998/03/11 21:10:57 rousskov Exp $ + * $Id: HttpHdrRange.cc,v 1.5 1998/03/11 21:11:47 rousskov Exp $ * * DEBUG: section 64 HTTP Range Header * AUTHOR: Alex Rousskov @@ -249,17 +249,6 @@ httpHdrRangePackInto(const HttpHdrRange * range, Packer * p) } } -void -httpHdrRangeJoinWith(HttpHdrRange * range, const HttpHdrRange * new_range) -{ - HttpHdrRangePos pos = HttpHdrRangeInitPos; - HttpHdrRangeSpec spec; - assert(range && new_range); - stackPrePush(&range->specs, new_range->specs.count); - while (httpHdrRangeGetSpec(new_range, &spec, &pos)) - stackPush(&range->specs, httpHdrRangeSpecDup(&spec)); -} - /* * canonizes all range specs within a set preserving the order * returns true if the set is valid after canonization;