chiark
/
gitweb
/
~ian
/
gnupg2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dirmngr: New debug message on correctly initialized libdns.
[gnupg2.git]
/
dirmngr
/
dns-stuff.c
diff --git
a/dirmngr/dns-stuff.c
b/dirmngr/dns-stuff.c
index f2e1df92564cc8d62755df7463bd47aa187c9f46..cf8cefb2eeaa574ca7905385be04f4fb6a7a25f9 100644
(file)
--- a/
dirmngr/dns-stuff.c
+++ b/
dirmngr/dns-stuff.c
@@
-507,6
+507,9
@@
libdns_init (void)
/* All fine. Make the data global. */
libdns = ld;
/* All fine. Make the data global. */
libdns = ld;
+ if (opt_debug)
+ log_debug ("dns: libdns initialized%s\n", tor_mode?" (tor mode)":"");
+
leave:
xfree (cfgstr);
return err;
leave:
xfree (cfgstr);
return err;
@@
-595,7
+598,7
@@
libdns_res_open (struct dns_resolver **r_res)
#ifdef USE_LIBDNS
#ifdef USE_LIBDNS
-/* Helper to test whether we need to
try again after having swict
hed
+/* Helper to test whether we need to
try again after having switc
hed
* the Tor port. */
static int
libdns_switch_port_p (gpg_error_t err)
* the Tor port. */
static int
libdns_switch_port_p (gpg_error_t err)