]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Fri, 6 Jun 2014 00:14:36 +0000 (18:14 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Fri, 6 Jun 2014 00:14:36 +0000 (18:14 -0600)
src/client_side.cc
src/comm/Read.cc
src/comm/Read.h

index 1e889e89e286d6c2c69b1ac0b1259cd457d05b79..9c8890849b740f62cac2c153b49e83ae10253240 100644 (file)
@@ -2987,8 +2987,7 @@ ConnStateData::clientReadRequest(const CommIoCbParams &io)
 
     CommIoCbParams rd(this); // will be expanded with ReadNow results
     rd.conn = io.conn;
-    switch (Comm::ReadNow(rd, in.buf))
-    {
+    switch (Comm::ReadNow(rd, in.buf)) {
     case Comm::INPROGRESS:
         if (in.buf.isEmpty())
             debugs(33, 2, io.conn << ": no data to process, " << xstrerr(rd.xerrno));
@@ -3025,7 +3024,7 @@ ConnStateData::clientReadRequest(const CommIoCbParams &io)
         /* Continue to process previously read data */
         break;
 
-    // case Comm::ERROR:
+        // case Comm::ERROR:
     default: // no other flags should ever occur
         debugs(33, 2, io.conn << ": got flag " << rd.flag << "; " << xstrerr(rd.xerrno));
         notifyAllContexts(rd.xerrno);
index cccccb1c983e03fa0c302fc1892e1d947017f319..aba2092ba53e43f29bcd8f4da433c4202cd30341 100644 (file)
@@ -3,11 +3,11 @@
  */
 #include "squid.h"
 #include "comm.h"
-#include "comm_internal.h"
-#include "CommCalls.h"
 #include "comm/IoCallback.h"
 #include "comm/Loops.h"
 #include "comm/Read.h"
+#include "comm_internal.h"
+#include "CommCalls.h"
 #include "Debug.h"
 #include "fd.h"
 #include "fde.h"
@@ -150,7 +150,6 @@ Comm::HandleRead(int fd, void *data)
         return;
     };
 
-
     /* Nope, register for some more IO */
     Comm::SetSelect(fd, COMM_SELECT_READ, Comm::HandleRead, data, 0);
 }
index 99d78c43c61c234570fb7548e86fbd152f115336..4758325b147b35e5413d77a0cbbaae83bcab65d5 100644 (file)
@@ -2,8 +2,8 @@
 #define _SQUID_COMM_READ_H
 
 #include "base/AsyncCall.h"
-#include "CommCalls.h"
 #include "comm/forward.h"
+#include "CommCalls.h"
 
 class SBuf;