From: Automatic source maintenance Date: Fri, 24 Sep 2010 05:10:27 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_1_9~46 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=08c31d8b4b283b36ec07ce66f590ba31e7b652b2;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/BodyPipe.cc b/src/BodyPipe.cc index ffc28c0803..aea639da48 100644 --- a/src/BodyPipe.cc +++ b/src/BodyPipe.cc @@ -261,12 +261,12 @@ BodyPipe::expectNoConsumption() { Must(!theConsumer); if (!abortedConsumption && !exhausted()) { - AsyncCall::Pointer call= asyncCall(91, 7, - "BodyProducer::noteBodyConsumerAborted", - BodyProducerDialer(theProducer, - &BodyProducer::noteBodyConsumerAborted, this)); - ScheduleCallHere(call); - abortedConsumption = true; + AsyncCall::Pointer call= asyncCall(91, 7, + "BodyProducer::noteBodyConsumerAborted", + BodyProducerDialer(theProducer, + &BodyProducer::noteBodyConsumerAborted, this)); + ScheduleCallHere(call); + abortedConsumption = true; } } diff --git a/src/adaptation/icap/ModXact.cc b/src/adaptation/icap/ModXact.cc index b7acfa5421..eaef7a51bb 100644 --- a/src/adaptation/icap/ModXact.cc +++ b/src/adaptation/icap/ModXact.cc @@ -862,20 +862,20 @@ void Adaptation::Icap::ModXact::prepEchoing() // allocate the adapted message and copy metainfo Must(!adapted.header); { - HttpMsg::Pointer newHead; - if (const HttpRequest *oldR = dynamic_cast(oldHead)) { - HttpRequest::Pointer newR(new HttpRequest); - newR->canonical = oldR->canonical ? - xstrdup(oldR->canonical) : NULL; // parse() does not set it - newHead = newR; - } else if (dynamic_cast(oldHead)) { - newHead = new HttpReply; - } - Must(newHead != NULL); + HttpMsg::Pointer newHead; + if (const HttpRequest *oldR = dynamic_cast(oldHead)) { + HttpRequest::Pointer newR(new HttpRequest); + newR->canonical = oldR->canonical ? + xstrdup(oldR->canonical) : NULL; // parse() does not set it + newHead = newR; + } else if (dynamic_cast(oldHead)) { + newHead = new HttpReply; + } + Must(newHead != NULL); - newHead->inheritProperties(oldHead); + newHead->inheritProperties(oldHead); - adapted.setHeader(newHead); + adapted.setHeader(newHead); } // parse the buffer back