]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/esi/Sequence.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / esi / Sequence.cc
index bb4035c7d06c4aa82175ebe3f3f229fa94ed443b..211a9a471118b1c0eb7c9820c1e14d12d24f74c3 100644 (file)
@@ -34,6 +34,8 @@
  */
 
 #include "squid.h"
+#include "Debug.h"
+#include "fatal.h"
 
 /* MS Visual Studio Projects are monolithic, so we need the following
  * #if to exclude the ESI code from compile process when not needed.
@@ -118,7 +120,6 @@ esiSequence::finish()
     parent = NULL;
 }
 
-
 void
 esiSequence::provideData (ESISegment::Pointer data, ESIElement *source)
 {
@@ -128,7 +129,6 @@ esiSequence::provideData (ESISegment::Pointer data, ESIElement *source)
         debugs(86, 5, "esiSequence::provideData: " << this << " data provided during processing");
     debugs(86, 5, "esiSequence::provideData " << this << " " << data.getRaw() << " " << source);
 
-
     /* when data is provided, the element *must* be completed */
     /* XXX: when the callback model is complete,
      * we can introduce 'finished'. And then this rule can be
@@ -164,7 +164,7 @@ esiSequence::addElement (ESIElement::Pointer element)
 
     if (dynamic_cast<esiAttempt*>(element.getRaw()) ||
             dynamic_cast<esiExcept*>(element.getRaw())) {
-        debugs(86, 0, "esiSequenceAdd: misparented Attempt or Except element (section 3.4)");
+        debugs(86, DBG_CRITICAL, "esiSequenceAdd: misparented Attempt or Except element (section 3.4)");
         return false;
     }