]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 5 Dec 2011 01:40:45 +0000 (18:40 -0700)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 5 Dec 2011 01:40:45 +0000 (18:40 -0700)
src/HttpBody.cc
src/HttpBody.h
src/base/AsyncCbdataCalls.h

index 230698a83cd13acbd9d51fc871bce2f166cefd22..6cef876ac4d88aaf41729b586b034991b42289e7 100644 (file)
@@ -43,14 +43,14 @@ HttpBody::HttpBody() : mb(new MemBuf)
 
 HttpBody::~HttpBody()
 {
-       clear();
-       delete mb;
+    clear();
+    delete mb;
 }
 
 void
 HttpBody::clear()
 {
-    if(!mb->isNull())
+    if (!mb->isNull())
         mb->clean();
 }
 
index b893a2e2d20699138219cd46556eb07cf7a0d7fa..dc82a970aa306b572f83e9913750bc4b5bd38907 100644 (file)
@@ -40,7 +40,8 @@ class Packer;
  * This class is useful to represent short HTTP messages, whose
  * contents are known in advance, e.g. error messages
  */
-class HttpBody {
+class HttpBody
+{
 public:
     HttpBody();
     ~HttpBody();
index f15763e364d9053b77a3a4aac260340ef5b9b160..b4ec163580a3f5563638d330b56bcd9e7899d6f0 100644 (file)
@@ -14,9 +14,8 @@ public:
 
     UnaryCbdataDialer(Handler *aHandler, Argument1 *aArg) :
             arg1(aArg),
-            handler(aHandler)
-    {}
-    
+            handler(aHandler) {}
+
     virtual bool canDial(AsyncCall &call) { return arg1.valid(); }
     void dial(AsyncCall &call) { handler(arg1.get()); }
     virtual void print(std::ostream &os) const {  os << '(' << arg1 << ')'; }