]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Wed, 20 Oct 2010 14:04:31 +0000 (08:04 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Wed, 20 Oct 2010 14:04:31 +0000 (08:04 -0600)
src/adaptation/icap/OptXact.cc
src/adaptation/icap/Xaction.cc

index 764413e8f4590ab1378962cec35409399b4ad640..06eb3240ff171175df11b3bbdbfe29dddbccde91 100644 (file)
@@ -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);
index 09a21944f6604ab4b86b23a8f77691a2ce0875c9..3925fdcb6358ac631620517ec07489ee04be6eaa 100644 (file)
@@ -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