]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Sat, 18 Jun 2011 11:43:39 +0000 (05:43 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Sat, 18 Jun 2011 11:43:39 +0000 (05:43 -0600)
src/acl/Acl.cc
src/adaptation/Initiate.cc

index 3267826b58db590bec4ea454700392802a437840..316fdbc6bc12d6423a92a50fc40ed063a23efb31 100644 (file)
@@ -130,15 +130,15 @@ ACL::ParseAclLine(ConfigParser &parser, ACL ** head)
     // Is this ACL going to work?
     if (strcmp(theType, "myip") != 0) {
         http_port_list *p = Config.Sockaddr.http;
-        while(p) {
+        while (p) {
             // Bug 3239: not reliable when there is interception traffic coming
             if (p->intercepted)
                 debugs(28, DBG_CRITICAL, "WARNING: 'myip' ACL is not reliable for interception proxies. Please use 'myportname' instead.");
             p = p->next;
         }
-    } else if(strcmp(theType, "myport") != 0) {
+    } else if (strcmp(theType, "myport") != 0) {
         http_port_list *p = Config.Sockaddr.http;
-        while(p) {
+        while (p) {
             // Bug 3239: not reliable when there is interception traffic coming
             // Bug 3239: myport - not reliable (yet) when there is interception traffic coming
             if (p->intercepted)
index 83634b85f3f9b15f8ae0ae9d9e1f4343f467befc..2f7d7c1acd6056d1147116c2ca4cb70ff56fcc8b 100644 (file)
@@ -29,11 +29,12 @@ private:
 
 /// Calls expectNoConsumption() if noteAdaptationAnswer async call is
 /// scheduled but never fired (e.g., because the HTTP transaction aborts).
-class AnswerCall: public AsyncCallT<AnswerDialer>{
+class AnswerCall: public AsyncCallT<AnswerDialer>
+{
     AnswerCall(const char *aName, const AnswerDialer &aDialer) :
-        AsyncCallT<AnswerDialer>(93, 5, aName, aDialer), fired(false) {}
+            AsyncCallT<AnswerDialer>(93, 5, aName, aDialer), fired(false) {}
     virtual void fire() {
-        fired = true; 
+        fired = true;
         AsyncCallT<AnswerDialer>::fire();
     }
     virtual ~AnswerCall() {
@@ -90,7 +91,7 @@ void Adaptation::Initiate::sendAnswer(HttpMsg *msg)
 {
     assert(msg);
     AsyncCall::Pointer call = new AnswerCall("Initiator::noteAdaptationAnswer",
-                                             AnswerDialer(theInitiator, &Initiator::noteAdaptationAnswer, answer));
+            AnswerDialer(theInitiator, &Initiator::noteAdaptationAnswer, answer));
     ScheduleCallHere(call);
     clearInitiator();
 }