From: Christos Tsantilas Date: Thu, 4 Dec 2014 16:01:10 +0000 (+0200) Subject: url_rewrite_timeout directive part2: fix to allow complie when adaptation is not X-Git-Tag: merge-candidate-3-v1~461 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f1d7e48af3f830b6611c49353e3510e926b4fc2;p=thirdparty%2Fsquid.git url_rewrite_timeout directive part2: fix to allow complie when adaptation is not enabled --- diff --git a/src/client_side_request.cc b/src/client_side_request.cc index 940371d913..f5ad527d48 100644 --- a/src/client_side_request.cc +++ b/src/client_side_request.cc @@ -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