Mercurial > dnsbl
diff src/dnsbl.cpp @ 296:05b604c99e06 stable-6-0-43
allow broken SRS0+ rather than the correct SRS0= tag
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 18 Jul 2014 15:08:53 -0700 |
parents | fbbc341001cc |
children | 13905d36ca82 |
line wrap: on
line diff
--- a/src/dnsbl.cpp Fri Jul 18 15:05:04 2014 -0700 +++ b/src/dnsbl.cpp Fri Jul 18 15:08:53 2014 -0700 @@ -1771,7 +1771,7 @@ extern char *optarg; // setup srs coding detection - if (regcomp(&srs_pattern, "^srs(0|1)(=|\+)([^=]+)=([^=]+)=([^=]+)=([^@]+)@", REG_ICASE | REG_EXTENDED)) { + if (regcomp(&srs_pattern, "^srs(0|1)(=|\\+)([^=]+)=([^=]+)=([^=]+)=([^@]+)@", REG_ICASE | REG_EXTENDED)) { printf("cannot compile regex pattern to find srs coding in mail addresses\n"); exit(3); }