]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- added missing "else" in BuildRangeHeader "if" sequence
authorrousskov <>
Thu, 4 Jun 1998 11:46:01 +0000 (11:46 +0000)
committerrousskov <>
Thu, 4 Jun 1998 11:46:01 +0000 (11:46 +0000)
src/client_side.cc

index 3d44d58989bd9e2e6e58dda824467d4c1cd59631..e51deef1472a650bd9a7cf9faa6e5b94b876eb79 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.328 1998/06/03 22:33:00 rousskov Exp $
+ * $Id: client_side.cc,v 1.329 1998/06/04 05:46:01 rousskov Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -1109,6 +1109,7 @@ clientBuildRangeHeader(clientHttpRequest * http, HttpReply * rep)
     else
     if (httpHeaderHas(&http->request->header, HDR_IF_RANGE) && !clientIfRangeMatch(http, rep))
        range_err = "If-Range match failed";
+    else
     if (!httpHdrRangeCanonize(http->request->range, rep->content_length))
        range_err = "canonization failed";
     else