diff options
author | Werner Koch <[email protected]> | 2017-01-24 17:41:43 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-01-24 19:52:24 +0000 |
commit | 51e5a5e5a46279809848b4ab4419f35045336010 (patch) | |
tree | 24348548f7bb4f093e07a1610dbbab5baddc5f9c /dirmngr/ks-engine-ldap.c | |
parent | dirmngr: New option --disable-ipv4. (diff) | |
download | gnupg-51e5a5e5a46279809848b4ab4419f35045336010.tar.gz gnupg-51e5a5e5a46279809848b4ab4419f35045336010.zip |
dirmngr: Simplify error returning inside http.c.
* dirmngr/http.c (connect_server): Change to return an gpg_error_t
and to store socket at the passed address.
(http_raw_connect, send_request): Adjust accordingly.
--
This change removes cruft from the code and allows to return the error
code from the name lookup.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/ks-engine-ldap.c')
0 files changed, 0 insertions, 0 deletions