bind9/doc
Michał Kępień ecea678dac 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)
(cherry picked from commit 0041aeb751)
2018-04-10 13:26:23 -07:00
..
arm Add release notes for IDNA2008 2018-03-17 13:37:48 +00:00
design update file headers 2018-03-15 18:38:48 -07:00
dev Use dns_fixedname_initname() where possible 2018-04-10 13:26:23 -07:00
doxygen update file headers to remove copyright years 2018-03-14 16:40:20 -07:00
draft [master] updated published drafts 2014-02-14 08:53:06 -08:00
expired Reverted accidental bulk commit with log message of "%" 2001-10-02 17:20:46 +00:00
misc update file headers 2018-03-15 18:38:48 -07:00
rfc sync 2017-08-01 01:09:50 +00:00
tex update file headers to remove copyright years 2018-03-14 16:40:20 -07:00
xsl update file headers to remove copyright years 2018-03-14 16:40:20 -07:00
Makefile.in update file headers to remove copyright years 2018-03-14 16:40:20 -07:00