]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Sun, 29 Sep 2013 00:47:35 +0000 (18:47 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Sun, 29 Sep 2013 00:47:35 +0000 (18:47 -0600)
src/ConfigParser.cc
src/ConfigParser.h
src/acl/Data.h

index 58ac392fcd4be928bf82f88e7b5745fda5455ba3..12214aa2d16477c88a92f4ca04b53d85d71d2673 100644 (file)
@@ -41,7 +41,6 @@
 char *ConfigParser::lastToken = NULL;
 std::queue<std::string> ConfigParser::undo;
 
-
 int ConfigParser::RecognizeQuotedValues = true;
 
 void
@@ -68,16 +67,15 @@ ConfigParser::strtokFilePutBack(const char *tok)
 
 char *
 xstrtok(char *str, const char *delimiters)
-{   
+{
     assert(!str); // we are parsing the configuration file
     // no support unless enabled in the configuration and
     // no support for other delimiters (they may need to be eradicated!)
     return (ConfigParser::RecognizeQuotedValues &&
             strcmp(delimiters, " \t\n\r") == 0) ?
-        ConfigParser::NextToken() : ::strtok(str, delimiters);
+           ConfigParser::NextToken() : ::strtok(str, delimiters);
 }
 
-
 char *
 ConfigParser::strtokFile(void)
 {
@@ -244,7 +242,6 @@ ConfigParser::NextToken()
     return NextElement(NULL);
 }
 
-
 const char *
 ConfigParser::QuoteString(const String &var)
 {
index 8d2e728d2ec0be39371f9bfb0ab64a5547cce3e7..c6049b7faf48f4303a19e43c8b709b2b09f49874 100644 (file)
@@ -109,5 +109,4 @@ int parseConfigFile(const char *file_name);
 /// without replacing every strtok() call.
 extern char *xstrtok(char *str, const char *delimiters);
 
-
 #endif /* SQUID_CONFIGPARSER_H */
index 342a15b3a20075ae084e272bbc0d66d26564104f..ec487f548eeaa7edbee5348f01e8d0c400fd7187 100644 (file)
@@ -35,7 +35,6 @@
 class wordlist;
 extern char *xstrtok(char *str, const char *delimiters);
 
-
 /// \ingroup ACLAPI
 template <class M>
 class ACLData
@@ -53,7 +52,6 @@ public:
 
     virtual bool empty() const =0;
 
-
     /// XXX: Temporary hack to allow old ACL code to handle quoted values without
     /// replacing every strtok() call.
     char *strtok(char *str, const char *dels) { return xstrtok(str, dels); }