libdns: Avoid using compound literals (4).
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 26 Feb 2019 01:58:16 +0000 (10:58 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 26 Feb 2019 01:58:16 +0000 (10:58 +0900)
commit7313a112f9c7ada61d24285313d2e2d069a672e8
treef5a607b91ac0a442a4bc1c2cccd07be6f847d8f9
parent72efb7840258808cd892b90d871ea1cc1c31d7f5
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>
dirmngr/dns.c
dirmngr/dns.h