bind9/lib/irs
Michał Kępień 0041aeb751 Use dns_fixedname_initname() where possible
Replace dns_fixedname_init() calls followed by dns_fixedname_name()
calls with calls to dns_fixedname_initname() where it is possible
without affecting current behavior and/or performance.

This patch was mostly prepared using Coccinelle and the following
semantic patch:

    @@
    expression fixedname, name;
    @@
    -	dns_fixedname_init(&fixedname);
    	...
    -	name = dns_fixedname_name(&fixedname);
    +	name = dns_fixedname_initname(&fixedname);

The resulting set of changes was then manually reviewed to exclude false
positives and apply minor tweaks.

It is likely that more occurrences of this pattern can be refactored in
an identical way.  This commit only takes care of the low-hanging fruit.

(cherry picked from commit 4df4a8e731)
2018-04-10 13:09:24 -07:00
..
include Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
tests Remove duplicate irs_resconf_load() unit test 2018-03-06 09:23:49 +01:00
win32 Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
api [v9_12] update 9.11 api range 2018-01-24 10:23:11 -08:00
Atffile 4492. [bug] irs_resconf_load failed to initialise sortlistnxt 2016-10-27 13:17:58 +11:00
context.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
dnsconf.c Use dns_fixedname_initname() where possible 2018-04-10 13:09:24 -07:00
gai_strerror.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
getaddrinfo.c Use dns_fixedname_initname() where possible 2018-04-10 13:09:24 -07:00
getnameinfo.c Use dns_fixedname_initname() where possible 2018-04-10 13:09:24 -07:00
Kyuafile regen v9_12 2017-12-29 02:16:29 +00:00
Makefile.in Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
resconf.c Do not ignore resolv.conf syntax errors 2018-03-06 09:23:48 +01:00
version.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00