]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Get url_rewrite_concurrency upgrade parse right
authorAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 23 Oct 2010 12:42:05 +0000 (06:42 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 23 Oct 2010 12:42:05 +0000 (06:42 -0600)
src/cache_cf.cc

index ddd01a49c8017b3c3995686d17c50c678aae38d8..49f600408d9301640a3ba519d5b1be131ef18b2b 100644 (file)
@@ -905,8 +905,10 @@ parse_obsolete(const char *name)
 {
     // Directives which have been radically changed rather than removed
     if (!strcmp(name, "url_rewrite_concurrency")) {
+        int cval;
+        parse_int(&cval);
         debugs(3, DBG_CRITICAL, "WARNING: url_rewrite_concurrency upgrade overriding url_rewrite_children settings.");
-        parse_int(&Config.redirectChildren.concurrency);
+        Config.redirectChildren.concurrency = cval;
     }
 }