From: wessels <> Date: Thu, 26 Jan 2006 02:26:14 +0000 (+0000) Subject: ServerStateData::doIcap needs to be protected with #ifdefs X-Git-Tag: SQUID_3_0_PRE4~337 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0c25e71527ac71db11c91c4aa1a4a2a95c957bb8;p=thirdparty%2Fsquid.git ServerStateData::doIcap needs to be protected with #ifdefs --- diff --git a/src/Server.cc b/src/Server.cc index d7da35b5e3..96c037018e 100644 --- a/src/Server.cc +++ b/src/Server.cc @@ -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