aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dns-stuff.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2019-02-26 01:34:03 +0000
committerNIIBE Yutaka <[email protected]>2019-02-26 01:34:03 +0000
commit72efb7840258808cd892b90d871ea1cc1c31d7f5 (patch)
tree79d0e99b53b3310459c0e3a9ec4f16c3c42a6bc2 /dirmngr/dns-stuff.c
parentlibdns: Avoid using compound literals (2). (diff)
downloadgnupg-72efb7840258808cd892b90d871ea1cc1c31d7f5.tar.gz
gnupg-72efb7840258808cd892b90d871ea1cc1c31d7f5.zip
libdns: Avoid using compound literals (3).
* dirmngr/dns.h (dns_p_new): Remove. * dirmngr/dns.c (dns_hosts_query): Use dns_p_init with automatic variable. (dns_hints_query, dns_res_glue, parse_packet, query_hosts) (send_query, show_hints, echo_port): Likewise. -- Implicit automatic allocation by compound literals is confusing for C90 code. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/dns-stuff.c')
0 files changed, 0 insertions, 0 deletions