Index: src/client_side_request.cc
===================================================================
RCS file: /squid/squid3/src/client_side_request.cc,v
retrieving revision 1.28
diff -u -r1.28 client_side_request.cc
--- src/client_side_request.cc	14 Jul 2003 15:07:21 -0000	1.28
+++ src/client_side_request.cc	1 Aug 2003 01:37:48 -0000
@@ -674,13 +674,13 @@
 
 #if USE_USERAGENT_LOG
     if ((str = httpHeaderGetStr(req_hdr, HDR_USER_AGENT)))
-        logUserAgent(fqdnFromAddr(http->getConn() ? http->getConn()->log_addr : no_addr), str);
+        logUserAgent(fqdnFromAddr(http->getConn().getRaw() ? http->getConn()->log_addr : no_addr), str);
 
 #endif
 #if USE_REFERER_LOG
 
     if ((str = httpHeaderGetStr(req_hdr, HDR_REFERER)))
-        logReferer(fqdnFromAddr(http->getConn() ? http->getConn()->log_addr : no_addr), str, http->log_uri);
+        logReferer(fqdnFromAddr(http->getConn().getRaw() ? http->getConn()->log_addr : no_addr), str, http->log_uri);
 
 #endif
 #if FORW_VIA_DB
