From: Amos Jeffries Date: Mon, 9 Jun 2008 01:58:19 +0000 (+1200) Subject: Author: Tsantilas Christos X-Git-Tag: SQUID_3_1_0_1~49^2~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=609c620a22f980944032075428590bad879c88ae;p=thirdparty%2Fsquid.git Author: Tsantilas Christos update to follow_x_forwarded_for Small update to fix compile error when XFF not enabled. --- diff --git a/src/client_side_request.cc b/src/client_side_request.cc index 528af52071..a9a878eec7 100644 --- a/src/client_side_request.cc +++ b/src/client_side_request.cc @@ -71,8 +71,10 @@ static void adaptationAclCheckDoneWrapper(Adaptation::ServicePointer service, vo static const char *const crlf = "\r\n"; +#if FOLLOW_X_FORWARDED_FOR static void clientFollowXForwardedForCheck(int answer, void *data); +#endif /* FOLLOW_X_FORWARDED_FOR */ CBDATA_CLASS_INIT(ClientRequestContext);