From: wessels <> Date: Wed, 28 Aug 2002 22:10:57 +0000 (+0000) Subject: log_addr is a struct in_addr, not a struct sockaddr_in X-Git-Tag: SQUID_3_0_PRE1~813 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3ce86e049cf5ce94a47d077dc1734b55f902d5b;p=thirdparty%2Fsquid.git log_addr is a struct in_addr, not a struct sockaddr_in --- diff --git a/src/client_side.cc b/src/client_side.cc index b9c70ee0e0..f57334fce0 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.588 2002/08/28 04:44:52 wessels Exp $ + * $Id: client_side.cc,v 1.589 2002/08/28 16:10:57 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -986,11 +986,11 @@ clientInterpretRequestHeaders(clientHttpRequest * http) } #if USE_USERAGENT_LOG if ((str = httpHeaderGetStr(req_hdr, HDR_USER_AGENT))) - logUserAgent(fqdnFromAddr(http->conn->log_addr.sin_addr), str); + logUserAgent(fqdnFromAddr(http->conn->log_addr), str); #endif #if USE_REFERER_LOG if ((str = httpHeaderGetStr(req_hdr, HDR_REFERER))) - logReferer(fqdnFromAddr(http->conn->log_addr.sin_addr), str, + logReferer(fqdnFromAddr(http->conn->log_addr), str, http->log_uri); #endif #if FORW_VIA_DB