Home GnuPG
Diffusion GnuPG 7313a112f9c7

libdns: Avoid using compound literals (4).

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

Provenance
gniibeAuthored on Feb 26 2019, 2:58 AM
Parents
rG72efb7840258: libdns: Avoid using compound literals (3).
Branches
Unknown
Tags
Unknown