NIIBE Yutaka
d661acd483
libdns: Avoid using compound literals (7).
...
* dirmngr/dns.h (DNS_OPTS_INIT, dns_opts): Remove.
* dirmngr/dns-stuff.c (libdns_res_open): Use zero-ed, and initialized
automatic variable for opts.
* dirmngr/dns.c (send_query, resolve_query, resolve_addrinfo):
Likewise.
--
In fact, DNS_OPTS_INIT was only needed when args are none. With
partially specified initialization, C99 guarantees zero-ed other
members just like static object.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2019-02-26 12:13:35 +09:00
..
2018-10-25 16:53:05 -04:00
2018-10-24 15:56:18 -04:00
2018-04-25 12:38:04 +02:00
2017-09-18 22:49:05 +02:00
2017-02-21 13:11:46 -05:00
2015-04-20 18:20:45 +02:00
2018-11-12 13:54:26 +01:00
2016-09-17 15:57:31 +09:00
2018-04-25 12:38:04 +02:00
2016-11-05 12:02:19 +01:00
2018-10-24 15:56:18 -04:00
2017-07-19 13:41:18 +09:00
2010-07-16 13:19:45 +00:00
2018-07-25 14:35:04 +02:00
2019-01-25 10:15:39 +09:00
2018-09-11 14:02:53 +09:00
2019-02-26 12:13:35 +09:00
2018-07-25 14:35:04 +02:00
2019-02-26 12:13:35 +09:00
2019-02-26 12:13:35 +09:00
2018-11-13 11:35:39 +01:00
2017-03-03 17:17:26 +01:00
2017-03-02 18:35:03 +01:00
2018-10-24 15:56:18 -04:00
2018-12-11 13:24:31 +01:00
2018-12-11 13:24:31 +01:00
2018-10-24 15:56:18 -04:00
2016-11-05 12:02:19 +01:00
2018-07-25 14:35:04 +02:00
2018-12-11 13:39:41 +01:00
2018-11-22 22:36:07 +01:00
2017-03-07 20:25:54 +09:00
2018-10-25 17:34:24 +02:00
2018-04-25 12:38:04 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2014-03-07 19:00:31 +01:00
2010-06-09 16:53:51 +00:00
2018-04-27 12:05:31 +02:00
2018-04-30 08:46:03 +02:00
2016-11-05 12:02:19 +01:00
2018-10-24 15:56:18 -04:00
2015-03-23 19:58:30 +01:00
2016-11-05 12:02:19 +01:00
2018-04-25 12:38:04 +02:00
2018-11-22 22:36:07 +01:00
2018-11-05 09:00:02 +01:00
2017-03-02 18:35:03 +01:00
2011-02-04 12:57:53 +01:00
2018-10-24 15:56:18 -04:00
2010-06-09 16:53:51 +00:00
2011-02-04 12:57:53 +01:00
2018-11-13 11:35:39 +01:00
2014-05-05 16:23:37 +02:00
2018-07-25 14:35:04 +02:00
2018-11-22 22:36:07 +01:00
2018-11-22 22:36:07 +01:00
2016-11-05 12:02:19 +01:00
2018-07-25 14:35:04 +02:00
2016-11-05 12:02:19 +01:00
2015-10-18 20:08:26 +02:00
2017-04-28 10:06:33 +09:00
2017-02-21 14:55:04 +01:00
2016-11-05 12:02:19 +01:00
2018-10-24 15:56:18 -04:00