--------------------- PatchSet 4951 Date: 2007/06/29 08:21:21 Author: amosjeffries Branch: HEAD Tag: (none) Log: Fix error: class ‘ServerStateData’ does not have any field named ‘icapAccessCheckPending’ Compile error inherited from HEAD in all builds without ICAP. Members: src/Server.cc:1.11->1.12 Index: squid3/src/Server.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/Server.cc,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- squid3/src/Server.cc 25 Jun 2007 22:52:03 -0000 1.11 +++ squid3/src/Server.cc 29 Jun 2007 08:21:21 -0000 1.12 @@ -1,5 +1,5 @@ /* - * $Id: Server.cc,v 1.11 2007/06/25 22:52:03 squidadm Exp $ + * $Id: Server.cc,v 1.12 2007/06/29 08:21:21 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;