Home GnuPG
Diffusion GnuPG 51e5a5e5a462

dirmngr: Simplify error returning inside http.c.
51e5a5e5a462Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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 <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 24 2017, 6:41 PM
Parents
rG72736af86a50: dirmngr: New option --disable-ipv4.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG51e5a5e5a462: dirmngr: Simplify error returning inside http.c. (authored by Werner Koch <wk@gnupg.org>).Jan 24 2017, 8:52 PM