From: George Thessalonikefs Date: Mon, 2 Oct 2023 14:13:23 +0000 (+0200) Subject: - Fix misplaced comment. X-Git-Tag: release-1.19.0rc1~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9342bf685e0742e1147bfee81b2985affc0b60bc;p=thirdparty%2Funbound.git - Fix misplaced comment. --- diff --git a/doc/Changelog b/doc/Changelog index 9b3ccf8ea..cc79cc3c8 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +2 October 2023: George + - Fix misplaced comment. + 22 September 2023: Wouter - Fix #942: 1.18.0 libunbound DNS regression when built without OpenSSL. diff --git a/services/outside_network.c b/services/outside_network.c index 2a219cbc6..12923f07d 100644 --- a/services/outside_network.c +++ b/services/outside_network.c @@ -550,7 +550,6 @@ reuse_tcp_find(struct outside_network* outnet, struct sockaddr_storage* addr, log_assert(&key_p.reuse != (struct reuse_tcp*)result); log_assert(&key_p != ((struct reuse_tcp*)result)->pending); } - /* not found, return null */ /* It is possible that we search for something before the first element * in the tree. Replace a null pointer with the first element. @@ -560,6 +559,7 @@ reuse_tcp_find(struct outside_network* outnet, struct sockaddr_storage* addr, result = rbtree_first(&outnet->tcp_reuse); } + /* not found, return null */ if(!result || result == RBTREE_NULL) return NULL;