From: Automatic source maintenance Date: Mon, 13 Sep 2010 00:19:25 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: take1~265 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5be49f98ce2339a62917fd99f9c8b5f9d4ce4b6f;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/adaptation/icap/OptXact.cc b/src/adaptation/icap/OptXact.cc index b6f0af6f97..eaf633c496 100644 --- a/src/adaptation/icap/OptXact.cc +++ b/src/adaptation/icap/OptXact.cc @@ -75,7 +75,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 027908fe24..7bdf707c07 100644 --- a/src/adaptation/icap/Xaction.cc +++ b/src/adaptation/icap/Xaction.cc @@ -368,16 +368,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