From 9a41936e3dbc11c378cd1d397f47fefb18d456ab Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Wed, 21 Feb 2001 23:21:28 +0000 Subject: [PATCH] current_root was uninitialized at the start of dns_rbt_findnode(). This has no real effect, but it's still good to fix it. --- lib/dns/rbt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dns/rbt.c b/lib/dns/rbt.c index ae7d8c4436..0979179fed 100644 --- a/lib/dns/rbt.c +++ b/lib/dns/rbt.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rbt.c,v 1.105 2001/02/21 02:27:56 bwelling Exp $ */ +/* $Id: rbt.c,v 1.106 2001/02/21 23:21:28 bwelling Exp $ */ /* Principal Authors: DCL */ @@ -838,6 +838,7 @@ dns_rbt_findnode(dns_rbt_t *rbt, dns_name_t *name, dns_name_t *foundname, saved_result = ISC_R_SUCCESS; current = rbt->root; + current_root = rbt->root; while (current != NULL) { NODENAME(current, ¤t_name);