From: Amos Jeffries Date: Tue, 1 Nov 2016 11:22:31 +0000 (+1300) Subject: Fix build issue after rev.14105 X-Git-Tag: SQUID_3_5_23~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f88bbb333d6379c9d80aad314eda3ec223b85577;p=thirdparty%2Fsquid.git Fix build issue after rev.14105 --- diff --git a/src/AccessLogEntry.cc b/src/AccessLogEntry.cc index 0d2a3e9001..752d4f8d82 100644 --- a/src/AccessLogEntry.cc +++ b/src/AccessLogEntry.cc @@ -30,7 +30,7 @@ AccessLogEntry::getLogClientIp(char *buf, size_t bufsz) const log_ip = request->indirect_client_addr; else #endif - if (tcpClient) + if (tcpClient != NULL) log_ip = tcpClient->remote; else log_ip = cache.caddr;