From: Amos Jeffries Date: Sat, 31 Jul 2010 14:32:14 +0000 (-0600) Subject: Author: Christos Tsantilas X-Git-Tag: SQUID_3_1_6~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=319ab9dbd05668ac8106d7f0bdaeb7a9a26a4292;p=thirdparty%2Fsquid.git Author: Christos Tsantilas Fix: The bytes to/from the ICAP server may not logged correctly on 32bit systems A simple long int (doint/outint) used to log bytes sent/received to/from the ICAP server, ICAP requests with very large http objects will not logged correctly. Use int64_t (dooff/outoff) instead --- diff --git a/src/access_log.cc b/src/access_log.cc index e4a66f6e8f..84e86bd501 100644 --- a/src/access_log.cc +++ b/src/access_log.cc @@ -839,13 +839,13 @@ accessLogCustom(AccessLogEntry * al, customlog * log) break; case LFT_ICAP_BYTES_SENT: - outint = al->icap.bytesSent; - doint = 1; + outoff = al->icap.bytesSent; + dooff = 1; break; case LFT_ICAP_BYTES_READ: - outint = al->icap.bytesRead; - doint = 1; + outoff = al->icap.bytesRead; + dooff = 1; break; case LFT_ICAP_REQ_HEADER: