From: robertc <> Date: Fri, 20 Dec 2002 12:47:22 +0000 (+0000) Subject: fix unguarded http->conn reference X-Git-Tag: SQUID_3_0_PRE1~490 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e96e0da235262c78bacf71e33bf776ec7c56d9a8;p=thirdparty%2Fsquid.git fix unguarded http->conn reference --- diff --git a/src/client_side.cc b/src/client_side.cc index 815c214228..eb7c4ae39e 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.610 2002/12/19 09:57:09 robertc Exp $ + * $Id: client_side.cc,v 1.611 2002/12/20 05:47:22 robertc Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -423,7 +423,8 @@ clientLogRequest(clientHttpRequest * http) if (http->conn && http->conn->rfc931[0]) http->al.cache.rfc931 = http->conn->rfc931; #if USE_SSL - http->al.cache.ssluser = sslGetUserEmail(fd_table[http->conn->fd].ssl); + if (http->conn) + http->al.cache.ssluser = sslGetUserEmail(fd_table[http->conn->fd].ssl); #endif accessLogLog(&http->al); accessLogFreeMemory(&http->al);