Mercurial > dnsbl
diff src/dnsbl.cpp @ 432:4ffa356316d5
allow syslogging of long txt records
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 24 Oct 2017 08:54:45 -0700 |
parents | 69d33c034a8e |
children | 7b072e16bd69 |
line wrap: on
line diff
--- a/src/dnsbl.cpp Tue Oct 03 14:02:32 2017 -0700 +++ b/src/dnsbl.cpp Tue Oct 24 08:54:45 2017 -0700 @@ -94,7 +94,7 @@ bool loader_run = true; // used to stop the config loader thread CONFIG *config = NULL; // protected by the config_mutex int generation = 0; // protected by the config_mutex -const int maxlen = 1000; // used for snprintf buffers +const int maxlen = maxdnslength; // used for snprintf buffers regex_t srs_pattern; // used to detect srs coding in mail addresses regex_t prvs_pattern; // used to detect prvs coding in mail addresses regex_t dkim_r_pattern; // used to detect dkim signatures authenticated by the upstream opendkim milter