]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 13 Sep 2010 00:19:25 +0000 (18:19 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 13 Sep 2010 00:19:25 +0000 (18:19 -0600)
src/adaptation/icap/OptXact.cc
src/adaptation/icap/Xaction.cc

index b6f0af6f97fc8058dfe28eb8d4ec18bfb28bc82e..eaf633c4965bab22073395cb9b7ada627470bfec 100644 (file)
@@ -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);
index 027908fe2419efafad3eb53c6bf119ad858acd17..7bdf707c07b3e82486dee0e8539f3f3cc1813dd0 100644 (file)
@@ -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