summaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
authorMike Chiussi <chiussi@gmail.com>2006-09-07 03:53:14 +0000
committerMike Chiussi <chiussi@gmail.com>2006-09-07 03:53:14 +0000
commit5af47d16415dd81543f4b74445aa2de9667d3829 (patch)
tree828fc4b0eab91828e791314dcd327d36aa81d237 /src/or/dns.c
parentc8b053ba874c81bf68467a2f8fe41c1b9343d49b (diff)
downloadtor-5af47d16415dd81543f4b74445aa2de9667d3829.tar.gz
tor-5af47d16415dd81543f4b74445aa2de9667d3829.zip
- added some debugging lines to load_nameservers_from_registry()
svn:r8342
Diffstat (limited to 'src/or/dns.c')
-rw-r--r--src/or/dns.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index a8771f0237..122e60d1ba 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -1291,8 +1291,10 @@ configure_nameservers(int force)
eventdns_search_clear();
eventdns_clear_nameservers_and_suspend();
}
- if (eventdns_config_windows_nameservers())
+ if (eventdns_config_windows_nameservers()) {
+ log_warn(LD_EXIT,"Could not config nameservers.");
return -1;
+ }
if (eventdns_count_nameservers() == 0) {
log_warn(LD_EXIT, "Unable to find any platform nameservers in "
"your Windows configuration. Perhaps you should list a "