]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
ServerStateData::doIcap needs to be protected with #ifdefs
authorwessels <>
Thu, 26 Jan 2006 02:26:14 +0000 (02:26 +0000)
committerwessels <>
Thu, 26 Jan 2006 02:26:14 +0000 (02:26 +0000)
src/Server.cc

index d7da35b5e3ea73a27605490a5d45b600d4983f15..96c037018e740c168d8d3c4cd2f90e95b22d137b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: Server.cc,v 1.1 2006/01/25 17:47:26 wessels Exp $
+ * $Id: Server.cc,v 1.2 2006/01/25 19:26:14 wessels Exp $
  *
  * DEBUG:
  * AUTHOR: Duane Wessels
@@ -71,6 +71,7 @@ ServerStateData::~ServerStateData()
 #endif
 }
 
+#if ICAP_CLIENT
 /*
  * Initiate an ICAP transaction.  Return 0 if all is well, or -1 upon error.
  * Caller will handle error condition by generating a Squid error message
@@ -85,3 +86,5 @@ ServerStateData::doIcap(ICAPServiceRep::Pointer service)
     (void) cbdataReference(icap);
     return 0;
 }
+
+#endif