mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
dirmngr: Fix error handling.
* dirmngr/dns-stuff.c (libdns_init): Convert error before printing it. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
88f1505f06
commit
483c1288a8
@ -568,8 +568,8 @@ libdns_init (void)
|
||||
: dns_hints_local (ld.resolv_conf, &derr));
|
||||
if (!ld.hints)
|
||||
{
|
||||
log_error ("failed to load DNS hints: %s\n", gpg_strerror (err));
|
||||
err = libdns_error_to_gpg_error (derr);
|
||||
log_error ("failed to load DNS hints: %s\n", gpg_strerror (err));
|
||||
goto leave;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user