diff src/tokenizer.cpp @ 467:f5b394bec28c

allow checking names without A records on uribl lists; improve extraction of fake TLDs from our RPZ zone
author Carl Byington <carl@five-ten-sg.com>
date Wed, 16 Dec 2020 10:25:37 -0800
parents 82886d4dd71f
children 5209e92b4885
line wrap: on
line diff
--- a/src/tokenizer.cpp	Thu Apr 25 09:47:36 2019 -0700
+++ b/src/tokenizer.cpp	Wed Dec 16 10:25:37 2020 -0800
@@ -486,7 +486,7 @@
 
 void TOKEN::token_error(const char *err) {
     token_error();
-    char buf[maxlen];
+    char buf[maxlen*2];
     snprintf(buf, sizeof(buf), "%s \n", err);
     my_syslog(buf);
 }