Mercurial > dnsbl
diff src/context.cpp @ 145:9b9bab1d3c21 stable-5-25
dump effective dnsbl_list with -c switch
author | carl |
---|---|
date | Sun, 15 Oct 2006 12:41:46 -0700 |
parents | 31ff00ea6bfb |
children | 7278c9766e26 |
line wrap: on
line diff
--- a/src/context.cpp Sun Oct 15 12:23:17 2006 -0700 +++ b/src/context.cpp Sun Oct 15 12:41:46 2006 -0700 @@ -705,9 +705,10 @@ printf("%s dnsbl %s %s \"%s\"; \n", indent, n, d.suffix, d.message); } - if (!dnsbl_list.empty()) { + dnsblp_list dl = get_dnsbl_list(); + if (!dl.empty()) { printf("%s dnsbl_list", indent); - for (dnsblp_list::iterator i=dnsbl_list.begin(); i!=dnsbl_list.end(); i++) { + for (dnsblp_list::iterator i=dl.begin(); i!=dl.end(); i++) { DNSBL &d = *(*i); printf(" %s", d.name); }