]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed client address in access.log; it was always '-'
authorwessels <>
Fri, 17 Oct 1997 21:44:32 +0000 (21:44 +0000)
committerwessels <>
Fri, 17 Oct 1997 21:44:32 +0000 (21:44 +0000)
src/access_log.cc

index 6144e2f5164d5a462db55e5bb3900733d55e8542..54159a9477a89a4f0bf0aa4e6d92c27b4c9fa7fe 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: access_log.cc,v 1.5 1997/08/25 15:55:21 wessels Exp $
+ * $Id: access_log.cc,v 1.6 1997/10/17 15:44:32 wessels Exp $
  *
  * DEBUG: section 46    Access Log
  * AUTHOR: Duane Wessels
@@ -113,7 +113,7 @@ log_quote(const char *header)
 static int
 accessLogSquid(AccessLogEntry * al)
 {
-    const char *client = dash_str;
+    const char *client = NULL;
     if (Config.onoff.log_fqdn)
        client = fqdncache_gethostbyaddr(al->cache.caddr, 0);
     if (client == NULL)