]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Thu, 27 Jan 2011 01:12:25 +0000 (18:12 -0700)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Thu, 27 Jan 2011 01:12:25 +0000 (18:12 -0700)
src/CommCalls.h
src/client_side.cc
src/comm/TcpAcceptor.cc

index 7bf0ded84a452e7ef345ff9b4487f458bdac9ad1..945c2d0ca34487fbe7dd8295f72e7edd0cc5eca4 100644 (file)
@@ -268,8 +268,7 @@ public:
 
     inline CommCbFunPtrCallT(const CommCbFunPtrCallT &o) :
             AsyncCall(o.debugSection, o.debugLevel, o.name),
-            dialer(o.dialer)
-        {}
+            dialer(o.dialer) {}
 
     ~CommCbFunPtrCallT() {}
 
index 391d58e78187c5b02be86a33c0f667e2bcec570b..f2d90a260966c86801928b51f1f5407ad8159133 100644 (file)
@@ -3622,7 +3622,7 @@ clientHttpConnectionsOpen(void)
         Subscription::Pointer sub = new CallSubscription<AcceptCall>(subCall);
 
         AsyncCall::Pointer listenCall = asyncCall(33,2, "clientListenerConnectionOpened",
-                                                  ListeningStartedDialer(&clientListenerConnectionOpened, openFlags, s, Ipc::fdnHttpSocket, sub));
+                                        ListeningStartedDialer(&clientListenerConnectionOpened, openFlags, s, Ipc::fdnHttpSocket, sub));
         Ipc::StartListening(SOCK_STREAM, IPPROTO_TCP, s->s, openFlags, Ipc::fdnHttpSocket, listenCall);
 
         HttpSockets[NHttpSockets++] = -1; // set in clientListenerConnectionOpened
@@ -3689,8 +3689,8 @@ clientHttpsConnectionsOpen(void)
         Subscription::Pointer sub = new CallSubscription<AcceptCall>(subCall);
 
         AsyncCall::Pointer listenCall = asyncCall(33, 2, "clientListenerConnectionOpened",
-                                                  ListeningStartedDialer(&clientListenerConnectionOpened, openFlags,
-                                                                         &s->http, Ipc::fdnHttpsSocket, sub));
+                                        ListeningStartedDialer(&clientListenerConnectionOpened, openFlags,
+                                                               &s->http, Ipc::fdnHttpsSocket, sub));
 
         Ipc::StartListening(SOCK_STREAM, IPPROTO_TCP, s->s, openFlags, Ipc::fdnHttpsSocket, listenCall);
 
index 6931a87e397e6c2fa7c97317cd5b449ca0ab3548..db0275af0d673c96fcebcbaa53d452b7b8da91fb 100644 (file)
@@ -44,8 +44,9 @@
 #include "protos.h"
 #include "SquidTime.h"
 
-namespace Comm {
-    CBDATA_CLASS_INIT(TcpAcceptor);
+namespace Comm
+{
+CBDATA_CLASS_INIT(TcpAcceptor);
 };
 
 Comm::TcpAcceptor::TcpAcceptor(const int listenFd, const Ip::Address &laddr, int flags,
@@ -193,9 +194,9 @@ Comm::TcpAcceptor::doAccept(int fd, void *data)
         }
         SetSelect(fd, COMM_SELECT_READ, Comm::TcpAcceptor::doAccept, afd, 0);
 
-    } catch(const std::exception &e) {
+    } catch (const std::exception &e) {
         fatalf("FATAL: error while accepting new client connection: %s\n", e.what());
-    } catch(...) {
+    } catch (...) {
         fatal("FATAL: error while accepting new client connection: [unkown]\n");
     }
 }