From: Automatic source maintenance Date: Mon, 5 Dec 2011 01:40:45 +0000 (-0700) Subject: SourceFormat Enforcement X-Git-Tag: BumpSslServerFirst.take05~12^2~134 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=54544731423fbf90a9dbbfccc5c734aac3933ddc;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/HttpBody.cc b/src/HttpBody.cc index 230698a83c..6cef876ac4 100644 --- a/src/HttpBody.cc +++ b/src/HttpBody.cc @@ -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(); } diff --git a/src/HttpBody.h b/src/HttpBody.h index b893a2e2d2..dc82a970aa 100644 --- a/src/HttpBody.h +++ b/src/HttpBody.h @@ -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(); diff --git a/src/base/AsyncCbdataCalls.h b/src/base/AsyncCbdataCalls.h index f15763e364..b4ec163580 100644 --- a/src/base/AsyncCbdataCalls.h +++ b/src/base/AsyncCbdataCalls.h @@ -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 << ')'; }