Diffusion GnuPG 229302aecf8d

libdns: Avoid using compound literals (4).

Authored by gniibe on Feb 26 2019, 2:58 AM.

Description

libdns: Avoid using compound literals (4).

* dirmngr/dns.h (dns_d_new*): Remove.
* dirmngr/dns.c (parse_packet): Use dns_d_init with automatic
variable.
(parse_domain): Likewise.

(cherry picked from commit 7313a112f9c7ada61d24285313d2e2d069a672e8)

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Committed
wernerMar 7 2019, 1:02 PM
Parents
rGf0de4fc99076: libdns: Avoid using compound literals (3).
Branches
Unknown
Tags
Unknown