From: Christos Tsantilas Date: Mon, 14 May 2012 20:58:03 +0000 (+0300) Subject: ErrorState::auth_user_request and ConnStateData::auth_user_request exist only if... X-Git-Tag: BumpSslServerFirst.take08~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daa1b1a78f9761ca866ea14edd7f65473e120af2;p=thirdparty%2Fsquid.git ErrorState::auth_user_request and ConnStateData::auth_user_request exist only if USE_AUTH defined --- diff --git a/src/client_side_request.cc b/src/client_side_request.cc index 4f281f79e5..7b06ae352a 100644 --- a/src/client_side_request.cc +++ b/src/client_side_request.cc @@ -1877,9 +1877,10 @@ ClientHttpRequest::handleAdaptationFailure(int errDetail, bool bypassable) c != NULL ? c->clientConnection->remote : noAddr, request ); - +#if USE_AUTH calloutContext->error->auth_user_request = c != NULL && c->auth_user_request != NULL ? c->auth_user_request : request->auth_user_request; +#endif calloutContext->error->detailError(errDetail); calloutContext->readNextRequest = true; c->expectNoForwarding();