]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorSource Maintenance <squidadm@squid-cache.org>
Thu, 19 Feb 2015 18:12:06 +0000 (18:12 +0000)
committerSource Maintenance <squidadm@squid-cache.org>
Thu, 19 Feb 2015 18:12:06 +0000 (18:12 +0000)
doc/debug-sections.txt
src/SBuf.h
src/parser/Tokenizer.cc
src/tests/stub_debug.cc

index 5d71e97d34040cf0a01aafb6182d377a7cb0c229..5bcf776fe1344a6401632e8ed95134f14926ad48 100644 (file)
@@ -57,6 +57,7 @@ section 21    Time Functions
 section 22    Refresh Calculation
 section 23    URL Parsing
 section 23    URL Scheme parsing
+section 24    SBuf
 section 25    MiME Header Parsing
 section 25    MIME Parsing and Internal Icons
 section 26    Secure Sockets Layer Proxy
index 79a73a99426b4218a4ea7fabd343cdc92f2868d9..12d2c75db7cb68b0af845e232834bfb3d65bad18 100644 (file)
@@ -140,7 +140,9 @@ public:
     SBuf(const SBuf &S);
     SBuf(SBuf&& S) : store_(std::move(S.store_)), off_(S.off_), len_(S.len_) {
         ++stats.moves;
-        S.store_=NULL; S.off_=0; S.len_=0; //RefCount supports NULL
+        S.store_=NULL;
+        S.off_=0;
+        S.len_=0; //RefCount supports NULL
     }
 
     /** Constructor: import c-style string
index d5e83bdd6a579d7642dccd872598a1fe8b3d1f3d..8581e83c60cbc1d003505352aaa9f14d3d60c238 100644 (file)
@@ -71,7 +71,7 @@ Parser::Tokenizer::token(SBuf &returnedToken, const CharacterSet &delimiters)
     returnedToken = consume(tokenLen); // cannot be empty
     skipAll(delimiters);
     debugs(24, DBG_DATA, "token found for delimiters " << delimiters.name << ": '" <<
-                    returnedToken << '\'');
+           returnedToken << '\'');
     return true;
 }
 
index 5cd6f178e48cd5d243ad160ade54a8062675d70e..5019a22e0404a42b052e41c843015141ceaca62b 100644 (file)
@@ -115,7 +115,7 @@ void
 Debug::xassert(const char *msg, const char *file, int line)
 {
     getDebugOut() << "assertion failed: " << file << ":" << line <<
-                    ": \"" << msg << "\"";
+                  ": \"" << msg << "\"";
     abort();
 }