dirmngr: Fix error return for ADNS.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 27 Oct 2016 05:49:17 +0000 (14:49 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 27 Oct 2016 05:49:17 +0000 (14:49 +0900)
commit8a9341b42cd1891090d45cc068bff84b2b3edb50
treef17b16e18d07a6aa0ed4aee0e1f3a2ca1bbf904a
parentca0ee4e381d0b6a57e4ddc8f4bb2390eb97a2540
dirmngr: Fix error return for ADNS.

* dirmngr/dns-stuff.c (resolve_name_adns): Use RET for return value.

--
There are cases where libadns returns an error without setting the
variable ERRNO.

GnuPG-bug-id: 2745
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
dirmngr/dns-stuff.c