comparison 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
comparison
equal deleted inserted replaced
466:8ad675a5d448 467:f5b394bec28c
484 } 484 }
485 485
486 486
487 void TOKEN::token_error(const char *err) { 487 void TOKEN::token_error(const char *err) {
488 token_error(); 488 token_error();
489 char buf[maxlen]; 489 char buf[maxlen*2];
490 snprintf(buf, sizeof(buf), "%s \n", err); 490 snprintf(buf, sizeof(buf), "%s \n", err);
491 my_syslog(buf); 491 my_syslog(buf);
492 } 492 }
493 493
494 494