]> git.ipfire.org Git - thirdparty/bind9.git/commit
Change the isc_buffer_reserve() to take just buffer pointer
authorOndřej Surý <ondrej@isc.org>
Thu, 15 Dec 2022 10:54:51 +0000 (11:54 +0100)
committerOndřej Surý <ondrej@isc.org>
Tue, 20 Dec 2022 18:13:48 +0000 (19:13 +0100)
commitaea251f3bce7665651abbf1beb6de61a285a9453
tree268b97f77aa0b37f65818a339ad3087cfe29edb2
parent9fd83ea9711ed865a50d284a6b15bedcbb9026e2
Change the isc_buffer_reserve() to take just buffer pointer

The isc_buffer_reserve() would be passed a reference to the buffer
pointer, which was unnecessary as the pointer would never be changed
in the current implementation.  Remove the extra dereference.
13 files changed:
bin/named/server.c
bin/tests/wire_test.c
bin/tools/dnstap-read.c
lib/dns/adb.c
lib/dns/catz.c
lib/dns/dnstap.c
lib/dns/keytable.c
lib/dns/nta.c
lib/dns/resolver.c
lib/isc/buffer.c
lib/isc/include/isc/buffer.h
lib/isccc/cc.c
tests/isc/buffer_test.c