]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
url_rewrite_timeout directive part2: fix to allow complie when adaptation is not
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 4 Dec 2014 16:01:10 +0000 (18:01 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 4 Dec 2014 16:01:10 +0000 (18:01 +0200)
 enabled

src/client_side_request.cc

index 940371d9134f3e1518b8702f2ef74a0f6c942bea..f5ad527d485f4d48dfb3b712077f68ed8d6be318 100644 (file)
@@ -2041,6 +2041,8 @@ ClientHttpRequest::handleAdaptationFailure(int errDetail, bool bypassable)
         doCallouts();
 }
 
+#endif
+
 // XXX: modify and use with ClientRequestContext::clientAccessCheckDone too.
 void
 ClientHttpRequest::calloutsError(const err_type error, const int errDetail)
@@ -2069,4 +2071,3 @@ ClientHttpRequest::calloutsError(const err_type error, const int errDetail)
     //else if(calloutContext == NULL) is it possible?
 }
 
-#endif