From: amosjeffries <> Date: Fri, 29 Jun 2007 14:31:59 +0000 (+0000) Subject: Fix compile error in non-ICAP builds. X-Git-Tag: SQUID_3_0_PRE7~175 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7708955871a1e3931063470ccee5e2d30cce54d8;p=thirdparty%2Fsquid.git Fix compile error in non-ICAP builds. --- diff --git a/src/Server.cc b/src/Server.cc index d8c59130e5..0617d3ff1c 100644 --- a/src/Server.cc +++ b/src/Server.cc @@ -1,5 +1,5 @@ /* - * $Id: Server.cc,v 1.13 2007/06/25 22:34:24 rousskov Exp $ + * $Id: Server.cc,v 1.14 2007/06/29 08:31:59 amosjeffries Exp $ * * DEBUG: * AUTHOR: Duane Wessels @@ -43,8 +43,10 @@ #include "ICAP/ICAPModXact.h" #endif -ServerStateData::ServerStateData(FwdState *theFwdState): requestSender(NULL), - icapAccessCheckPending(false) +ServerStateData::ServerStateData(FwdState *theFwdState): requestSender(NULL) +#if ICAP_CLIENT + , icapAccessCheckPending(false) +#endif { fwd = theFwdState; entry = fwd->entry;