From: wessels <> Date: Tue, 21 Feb 2006 01:58:17 +0000 (+0000) Subject: when logging the client request, al.reply might be NULL. If so, don't X-Git-Tag: SQUID_3_0_PRE4~324 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe74b6a6b233fc8928429c22d0aef398b1e9f3e8;p=thirdparty%2Fsquid.git when logging the client request, al.reply might be NULL. If so, don't link to it. --- diff --git a/src/client_side.cc b/src/client_side.cc index b80c2f682d..4574ef289c 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.713 2006/02/18 00:23:43 wessels Exp $ + * $Id: client_side.cc,v 1.714 2006/02/20 18:58:17 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -522,7 +522,8 @@ ClientHttpRequest::logRequest() ACLChecklist *checklist = clientAclChecklistCreate(Config.accessList.log, this); - checklist->reply = HTTPMSGLOCK(al.reply); + if (al.reply) + checklist->reply = HTTPMSGLOCK(al.reply); if (!Config.accessList.log || checklist->fastCheck()) { al.request = HTTPMSGLOCK(request);