comparison src/dnsbl.cpp @ 222:b2a7ca398712

add dns resolver debugging
author Carl Byington <carl@five-ten-sg.com>
date Sun, 28 Dec 2008 08:34:14 -0800
parents 495cfe5caead
children da9e7f1c8160
comparison
equal deleted inserted replaced
221:21037aa3aae5 222:b2a7ca398712
682 } 682 }
683 } 683 }
684 } 684 }
685 } 685 }
686 pthread_mutex_unlock(&resolve_mutex); 686 pthread_mutex_unlock(&resolve_mutex);
687 #ifdef RESOLVER_DEBUG
688 snprintf(text, sizeof(text), "dns_interface() found ip %d", ret_address);
689 my_syslog(text);
690 #endif
687 return ret_address; 691 return ret_address;
688 #else 692 #else
689 return glom.answer; 693 return glom.answer;
690 #endif 694 #endif
691 } 695 }