Diffusion GnuPG 7313a112f9c7

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.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Committed
gniibeFeb 26 2019, 2:58 AM
Parents
rG72efb7840258: libdns: Avoid using compound literals (3).
Branches
Unknown
Tags
Unknown