/[svn]/hopm/trunk/src/dnsbl.c
ViewVC logotype

Diff of /hopm/trunk/src/dnsbl.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5314 by michael, Fri Jan 2 21:36:27 2015 UTC revision 5315 by michael, Tue Jan 6 13:33:51 2015 UTC
# Line 86  dnsbl_add(struct scan_struct *ss) Line 86  dnsbl_add(struct scan_struct *ss)
86      if (OPT_DEBUG)      if (OPT_DEBUG)
87        log_printf("DNSBL -> Passed '%s' to resolver", lookup);        log_printf("DNSBL -> Passed '%s' to resolver", lookup);
88    
89      res = firedns_getip(FDNS_QRY_A, lookup, (void *) ds);      res = firedns_getip(FDNS_QRY_A, lookup, ds);
90    
91      if (res == -1 && fdns_errno != FDNS_ERR_FDLIMIT)      if (res == -1 && fdns_errno != FDNS_ERR_FDLIMIT)
92      {      {
93        log_printf("DNSBL -> Error sending dns lookup for '%s': %s", lookup, firedns_strerror(fdns_errno));        log_printf("DNSBL -> Error sending dns lookup for '%s': %s", lookup, firedns_strerror(fdns_errno));
94        free(ds);        MyFree(ds);
95      }      }
96      else      else
97        ++ss->scans;  /* Increase scan count - one for each blacklist */        ++ss->scans;  /* Increase scan count - one for each blacklist */

Legend:
Removed from v.5314  
changed lines
  Added in v.5315

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26