]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor tcp_recv()
authorOndřej Surý <ondrej@sury.org>
Fri, 26 Nov 2021 08:14:58 +0000 (09:14 +0100)
committerEvan Hunt <each@isc.org>
Wed, 1 Dec 2021 19:45:55 +0000 (11:45 -0800)
commitc84ed5056e8c968cd7038dc177d64be1d2219693
tree24a8d848927d4e66b112bb8cfb8c1ed5306aa6d9
parent10f4f1a25071a6de260e61eb2cd79dfea97d6a97
Refactor tcp_recv()

The tcp_recv() function used lot of gotos that made the function hard to
read.  Refactor the function by splitting it into smaller logical chunks.
lib/dns/dispatch.c