From: Automatic source maintenance Date: Wed, 20 Oct 2010 14:04:31 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_1_9~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=670dbe798e22720ce44ac329c0413c96b0a30f24;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/adaptation/icap/OptXact.cc b/src/adaptation/icap/OptXact.cc index 764413e8f4..06eb3240ff 100644 --- a/src/adaptation/icap/OptXact.cc +++ b/src/adaptation/icap/OptXact.cc @@ -72,7 +72,7 @@ void Adaptation::Icap::OptXact::handleCommRead(size_t) // we cannot parse it because we do not support any opt-body-types, so // we leave readAll false which forces connection closure. readAll = !icapReply->header.getByNameListMember("Encapsulated", - "opt-body", ',').size(); + "opt-body", ',').size(); debugs(93, 7, HERE << "readAll=" << readAll); icap_tio_finish = current_time; setOutcome(xoOpt); diff --git a/src/adaptation/icap/Xaction.cc b/src/adaptation/icap/Xaction.cc index 09a21944f6..3925fdcb63 100644 --- a/src/adaptation/icap/Xaction.cc +++ b/src/adaptation/icap/Xaction.cc @@ -369,16 +369,16 @@ void Adaptation::Icap::Xaction::noteCommRead(const CommIoCbParams &io) } } else { - al.icap.bytesRead+=io.size; + al.icap.bytesRead+=io.size; - updateTimeout(); + updateTimeout(); - debugs(93, 3, HERE << "read " << io.size << " bytes"); + debugs(93, 3, HERE << "read " << io.size << " bytes"); - /* - * See comments in Adaptation::Icap::Xaction.h about why we use commBuf - * here instead of reading directly into readBuf.buf. - */ + /* + * See comments in Adaptation::Icap::Xaction.h about why we use commBuf + * here instead of reading directly into readBuf.buf. + */ readBuf.append(commBuf, io.size); disableRetries(); // because pconn did not fail