From: wessels <> Date: Fri, 17 Oct 1997 21:44:32 +0000 (+0000) Subject: Fixed client address in access.log; it was always '-' X-Git-Tag: SQUID_3_0_PRE1~4785 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e7b53d5da6c45a940a6cec2901bbc5c0aeba828a;p=thirdparty%2Fsquid.git Fixed client address in access.log; it was always '-' --- diff --git a/src/access_log.cc b/src/access_log.cc index 6144e2f516..54159a9477 100644 --- a/src/access_log.cc +++ b/src/access_log.cc @@ -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)