]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Just a little cleanup of an ICAP_CLIENT ifdef
authorwessels <>
Wed, 14 Dec 2005 06:37:39 +0000 (06:37 +0000)
committerwessels <>
Wed, 14 Dec 2005 06:37:39 +0000 (06:37 +0000)
src/http.cc

index 85ed132df1aa3796b63ab57fb0f8a1f0262b9180..93217a8265821b87045aa3f967c377bd8ce75393 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: http.cc,v 1.471 2005/12/08 20:08:46 wessels Exp $
+ * $Id: http.cc,v 1.472 2005/12/13 23:37:39 wessels Exp $
  *
  * DEBUG: section 11    Hypertext Transfer Protocol (HTTP)
  * AUTHOR: Harvest Derived
@@ -1325,19 +1325,14 @@ HttpStateData::transactionComplete()
 #if ICAP_CLIENT
     if (icap) {
         icap->doneSending();
-    } else {
+        return;
+    }
 
 #endif
 
-        fwdComplete(fwd);
-
-        httpStateFree(-1, this);
-
-#if ICAP_CLIENT
-
-    }
+    fwdComplete(fwd);
 
-#endif
+    httpStateFree(-1, this);
 }
 
 /*