From 0c25e71527ac71db11c91c4aa1a4a2a95c957bb8 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Thu, 26 Jan 2006 02:26:14 +0000 Subject: [PATCH] ServerStateData::doIcap needs to be protected with #ifdefs --- src/Server.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.47.2