]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Tsantilas Christos <chtsanti@users.sourceforge.net>
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 9 Jun 2008 01:58:19 +0000 (13:58 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 9 Jun 2008 01:58:19 +0000 (13:58 +1200)
update to follow_x_forwarded_for

Small update to fix compile error when XFF not enabled.

src/client_side_request.cc

index 528af520712aed8aa4635b65fc5a3aed0dd7dfdc..a9a878eec7963ee9c804bed24fec8e752adfb274 100644 (file)
@@ -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);