Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
clowwindy committed Aug 5, 2014
1 parent 9c0e003 commit 9489805
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/chinadns.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ static int resolve_dns_servers() {
static int cmp_in_addr(const void *a, const void *b) {
struct in_addr *ina = (struct in_addr *)a;
struct in_addr *inb = (struct in_addr *)b;
LOG("cmp: %u\t%u\n", ina->s_addr, inb->s_addr);
if (ina->s_addr == inb->s_addr)
return 0;
if (ina->s_addr > inb->s_addr)
Expand Down Expand Up @@ -502,7 +501,6 @@ static int should_filter_query(ns_msg msg) {
if (type == ns_t_a) {
if (verbose)
printf("%s, ", inet_ntoa(*(struct in_addr *)rd));
LOG("entries: %d\n", ip_list.entries);
r = bsearch(rd, ip_list.ips, ip_list.entries, sizeof(struct in_addr),
cmp_in_addr);
if (r)
Expand Down

0 comments on commit 9489805

Please sign in to comment.