]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Tue, 8 Feb 2011 01:12:42 +0000 (18:12 -0700)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Tue, 8 Feb 2011 01:12:42 +0000 (18:12 -0700)
src/adaptation/ecap/MessageRep.cc
src/client_side_reply.cc
src/redirect.cc
src/stat.cc

index a86bfe3c6f9d81399a83eef687c0c0ad73d46b63..56281fef3ace759a6cfbf271217225c0bd63b5f4 100644 (file)
@@ -50,7 +50,7 @@ Adaptation::Ecap::HeaderRep::add(const Name &name, const Value &value)
     theHeader.addEntry(e);
 
     if (squidId == HDR_CONTENT_LENGTH)
-           theMessage.content_length = theHeader.getInt64(HDR_CONTENT_LENGTH);
+        theMessage.content_length = theHeader.getInt64(HDR_CONTENT_LENGTH);
 }
 
 void
@@ -63,7 +63,7 @@ Adaptation::Ecap::HeaderRep::removeAny(const Name &name)
         theHeader.delById(squidId);
 
     if (squidId == HDR_CONTENT_LENGTH)
-           theMessage.content_length = theHeader.getInt64(HDR_CONTENT_LENGTH);
+        theMessage.content_length = theHeader.getInt64(HDR_CONTENT_LENGTH);
 }
 
 libecap::Area
index 9dcd4e26b3586d8dcb4c3d8f055d789c6cfb3fe7..229ad6a36cfa8b36c2199a1ddade3f41d7c2919b 100644 (file)
@@ -104,7 +104,7 @@ clientReplyContext::setReplyToError(
 #else
     int
 #endif
-    )
+)
 {
     ErrorState *errstate = clientBuildError(err, status, uri, addr, failedrequest);
 
index 0641b6243fc17f2d328c6dfdfe31516abd150c73..98e56d642288a8d5c7b4383e67aeabcb62b94149 100644 (file)
@@ -151,9 +151,9 @@ redirectStart(ClientHttpRequest * http, RH * handler, void *data)
         r->client_ident = http->request->auth_user_request->username();
     else
 #endif
-    if (http->request->extacl_user.defined()) {
-        r->client_ident = http->request->extacl_user.termedBuf();
-    }
+        if (http->request->extacl_user.defined()) {
+            r->client_ident = http->request->extacl_user.termedBuf();
+        }
 
     if (!r->client_ident && (conn != NULL && conn->rfc931[0]))
         r->client_ident = conn->rfc931;
index 9e63bac019739021d003ee36aba6b3585ee2af93..8fb979f43517767157cc2112c47f84f134059d32 100644 (file)
@@ -2060,9 +2060,9 @@ statClientRequests(StoreEntry * s)
             p = http->request->auth_user_request->username();
         else
 #endif
-        if (http->request->extacl_user.defined()) {
-            p = http->request->extacl_user.termedBuf();
-        }
+            if (http->request->extacl_user.defined()) {
+                p = http->request->extacl_user.termedBuf();
+            }
 
         if (!p && (conn != NULL && conn->rfc931[0]))
             p = conn->rfc931;