]> git.ipfire.org Git - thirdparty/bind9.git/commit
dns_message_logfmtpacket(): drop 'style' parameter
authorMichał Kępień <michal@isc.org>
Tue, 31 Dec 2024 04:40:48 +0000 (05:40 +0100)
committerMichał Kępień <michal@isc.org>
Tue, 31 Dec 2024 04:40:48 +0000 (05:40 +0100)
commit05d69bd7a44d3b28ad4a993f97656ad8de115178
treee9f62bbf6595cbba4573534d3e02cc4ea5a947a9
parent064b2c6889d1c6b1a339d913962a7f59b0a0869f
dns_message_logfmtpacket(): drop 'style' parameter

Both existing callers of the dns_message_logfmtpacket() function set the
argument passed as 'style' to &dns_master_style_comment.  To simplify
these call sites, drop the 'style' parameter from the prototype for
dns_message_logfmtpacket() and use a fixed value of
&dns_master_style_comment in the function's body instead.
lib/dns/include/dns/message.h
lib/dns/message.c
lib/dns/resolver.c