]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
log_addr is a struct in_addr, not a struct sockaddr_in
authorwessels <>
Wed, 28 Aug 2002 22:10:57 +0000 (22:10 +0000)
committerwessels <>
Wed, 28 Aug 2002 22:10:57 +0000 (22:10 +0000)
src/client_side.cc

index b9c70ee0e00accce581bf657d20556b5bf71e654..f57334fce07218e1f9e8fc8a4ad858956694bd60 100644 (file)
@@ -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