Mercurial > dnsbl
diff src/dnsbl.cpp @ 410:6b03435868cb stable-6-0-55
require 3 dots in bare ip addresses
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 16 Apr 2017 09:12:08 -0700 |
parents | e018ed19a1cc |
children | d5a1ed33d3ae |
line wrap: on
line diff
--- a/src/dnsbl.cpp Sun Apr 16 09:06:52 2017 -0700 +++ b/src/dnsbl.cpp Sun Apr 16 09:12:08 2017 -0700 @@ -317,7 +317,7 @@ if (priv.err) return 0; // cannot ask more questions on this socket. if (maybe_ip && (qtype == ns_t_a)) { int c = 0; - const char q = question; + const char* q = question; while (*q) { if (*q == '.') c++; q++;