]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix CharacterSet ranged constructor
authorFrancesco Chemolli <kinkie@squid-cache.org>
Mon, 30 Dec 2013 09:57:55 +0000 (10:57 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Mon, 30 Dec 2013 09:57:55 +0000 (10:57 +0100)
src/base/CharacterSet.cc

index 8eee3e7317a60673710071634b26b705f0535351..55a728b363d336665b0f878c313fdce9b4b60fc5 100644 (file)
@@ -55,7 +55,7 @@ CharacterSet::CharacterSet(const char *label, const char * const c)
 }
 
 CharacterSet::CharacterSet(const char *label, const RangeSpec & ranges)
-: CharacterSet(label,"")
+: name(label == NULL ? "anonymous" : label), chars_(Storage(256,0))
 {
     addRange(ranges);
 }