]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Polish away some omitted changes
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 10 Nov 2012 11:03:49 +0000 (00:03 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 10 Nov 2012 11:03:49 +0000 (00:03 +1300)
src/HelperReply.cc
src/external_acl.cc
src/helper.h

index 26f0de842ac9b02836ce5987328eb5448055caec..08314f8a810cad24a881c5d95ad501b4f9f1e886 100644 (file)
@@ -147,7 +147,7 @@ std::ostream &
 operator <<(std::ostream &os, const HelperReply &r)
 {
     os << "{result=";
-    switch(r.result) {
+    switch (r.result) {
     case HelperReply::Okay:
         os << "OK";
         break;
index 952e95c02e556b246e49b0f9085e79070fd9633e..a7d5640c3159b4374f7d196bb496eb8dd82f0452 100644 (file)
@@ -363,9 +363,6 @@ parse_externalAclHelper(external_acl ** list)
         } else if (strcmp(token, "protocol=3.0") == 0) {
             debugs(3, DBG_PARSE_NOTE(2), "WARNING: external_acl_type option protocol=3.0 is deprecated. Remove this from your config.");
             a->quote = external_acl::QUOTE_METHOD_URL;
-        } else if (strcmp(token, "protocol=3.4") == 0) {
-            debugs(3, DBG_PARSE_NOTE(2), "WARNING: external_acl_type option protocol=3.4 is the default. Remove this from your config.");
-            a->quote = external_acl::QUOTE_METHOD_URL;
         } else if (strcmp(token, "quote=url") == 0) {
             debugs(3, DBG_PARSE_NOTE(2), "WARNING: external_acl_type option quote=url is deprecated. Remove this from your config.");
             a->quote = external_acl::QUOTE_METHOD_URL;
@@ -1508,9 +1505,6 @@ externalAclInit(void)
 
         p->theHelper->addr = p->local_addr;
 
-        if (p->quote == external_acl::QUOTE_METHOD_URL)
-            p->theHelper->url_quoting = true;
-
         helperOpenServers(p->theHelper);
     }
 
index 7e1f235813d82c7f35e80f1f1f55dd995584be19..1ee9d5e904b8b998efac05ec4ea88f655f521c7e 100644 (file)
@@ -48,7 +48,7 @@ typedef void HLPCB(void *, const HelperReply &reply);
 class helper
 {
 public:
-    inline helper(const char *name) : cmdline(NULL), id_name(name), eom('\n'), url_quoting(false) {}
+    inline helper(const char *name) : cmdline(NULL), id_name(name), eom('\n') {}
     ~helper();
 
 public:
@@ -62,7 +62,6 @@ public:
     time_t last_queue_warn;
     time_t last_restart;
     char eom;   ///< The char which marks the end of (response) message, normally '\n'
-    bool url_quoting;
 
     struct _stats {
         int requests;