From fe74b6a6b233fc8928429c22d0aef398b1e9f3e8 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Tue, 21 Feb 2006 01:58:17 +0000 Subject: [PATCH] when logging the client request, al.reply might be NULL. If so, don't link to it. --- src/client_side.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); -- 2.47.2