1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

dirmngr: New debug message on correctly initialized libdns.

* dirmngr/dns-stuff.c (libdns_init): Add debug level diagnostic on
success.
--

This output may help to avoid questions when evaluating an Assuan log.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2017-01-02 15:47:24 +01:00
parent a1e0d4a1e7
commit 0004d52ba2
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -507,6 +507,9 @@ libdns_init (void)
/* 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;
@ -595,7 +598,7 @@ libdns_res_open (struct dns_resolver **r_res)
#ifdef USE_LIBDNS
/* Helper to test whether we need totry again after having swicthed
/* Helper to test whether we need to try again after having switched
* the Tor port. */
static int
libdns_switch_port_p (gpg_error_t err)