]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- Removed Join method. Range fields are not join-able.
authorrousskov <>
Thu, 12 Mar 1998 04:11:47 +0000 (04:11 +0000)
committerrousskov <>
Thu, 12 Mar 1998 04:11:47 +0000 (04:11 +0000)
src/HttpHdrRange.cc

index 87cd399e1a9dcaa5ea5cac0912b2dc01c85a0900..b341dbbe4d15bed70ca616cba62161faa13ced2f 100644 (file)
@@ -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;