Home GnuPG
Diffusion GnuPG 455ef62d29a1

libdns: Avoid using compound literals (2).

Description

libdns: Avoid using compound literals (2).

* dirmngr/dns.h (dns_strsection1, dns_strsection3): Remove.
(dns_strclass1, dns_strclass3): Remove.
(dns_strtype1, dns_strtype3): Remove.
(dns_strsection, dns_strclass, dns_strtype): Directly use the
function.
* dirmngr/dns.c (dns_strsection): Use automatic variable.
(dns_strclass, dns_strtype): Likewise.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Feb 26 2019, 2:04 AM
Parents
rG1c405499388f: libdns: Avoid using compound literals.
Branches
Unknown
Tags
Unknown