From f3ce86e049cf5ce94a47d077dc1734b55f902d5b Mon Sep 17 00:00:00 2001 From: wessels <> Date: Wed, 28 Aug 2002 22:10:57 +0000 Subject: [PATCH] log_addr is a struct in_addr, not a struct sockaddr_in --- src/client_side.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.3