From: Amos Jeffries Date: Sat, 17 Jan 2009 02:34:30 +0000 (+1300) Subject: Coverity scan found a few bad lines. X-Git-Tag: SQUID_3_0_STABLE12~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=516960ce057f52c67764ead1f909a59cf2ce2ad1;p=thirdparty%2Fsquid.git Coverity scan found a few bad lines. --- diff --git a/src/client_side.cc b/src/client_side.cc index 4fb8a98097..e6eb03ba29 100755 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -527,7 +527,8 @@ ClientHttpRequest::logRequest() checklist->reply = HTTPMSGLOCK(al.reply); if (!Config.accessList.log || checklist->fastCheck()) { - al.request = HTTPMSGLOCK(request); + if(request) + al.request = HTTPMSGLOCK(request); accessLogLog(&al, checklist); updateCounters();