diff src/dnsbl.cpp @ 272:a99b6c1f5f67

Code cleanup, increase minimum hostname length for uribl checking
author Carl Byington <carl@five-ten-sg.com>
date Mon, 09 Sep 2013 19:30:21 -0700
parents f92f24950bd3
children 368572c57013
line wrap: on
line diff
--- a/src/dnsbl.cpp	Mon Sep 09 15:20:38 2013 -0700
+++ b/src/dnsbl.cpp	Mon Sep 09 19:30:21 2013 -0700
@@ -397,11 +397,6 @@
 //
 bool uriblookup(mlfiPriv &priv, string_set &hosts, const char *hostname, const char *&found) ;
 bool uriblookup(mlfiPriv &priv, string_set &hosts, const char *hostname, const char *&found) {
-    if (debug_syslog > 4) {
-        char tmp[maxlen];
-        snprintf(tmp, sizeof(tmp), "looking for %s on %s", hostname, priv.uribl_suffix);
-        my_syslog(tmp);
-    }
     char buf[maxlen];
     snprintf(buf, sizeof(buf), "%s.%s.", hostname, priv.uribl_suffix);
     uint32_t ip = ntohl(dns_interface(priv, buf, false, NULL));