Mercurial > dnsbl
diff src/scanner.cpp @ 236:c0d2e99c0a1d
Add surbl checks on the smtp helo value, client reverse dns name, and mail from domain name
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 29 Sep 2009 11:36:15 -0700 |
parents | 784030ac71f1 |
children | ef97c7cd4a6e |
line wrap: on
line diff
--- a/src/scanner.cpp Tue Jun 09 08:36:34 2009 -0700 +++ b/src/scanner.cpp Tue Sep 29 11:36:15 2009 -0700 @@ -1202,13 +1202,13 @@ binary_tags = 0; discard(hosts); } -void recorder::new_url(char *host) { +void recorder::new_url(const char *host) { register_string(hosts, host); } void recorder::binary() { binary_tags++; } -void recorder::new_tag(char *tag) { +void recorder::new_tag(const char *tag) { string_set::iterator i = html_tags->find(tag); if (i == html_tags->end()) { bad_html_tags++;