From 23e151aeed6b3ffe0fab10f51ffdb134deb7a852 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 13 Sep 2009 14:07:40 +0200 Subject: [PATCH] Remove superfluous call to avl_delete(). --- src/node.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/node.c b/src/node.c index 0c9033c..4fbec08 100644 --- a/src/node.c +++ b/src/node.c @@ -174,7 +174,6 @@ void update_node_udp(node_t *n, const sockaddr_t *sa) if(sa) { n->address = *sa; n->hostname = sockaddr2hostname(&n->address); - avl_delete(node_udp_tree, n); avl_insert(node_udp_tree, n); ifdebug(PROTOCOL) logger(LOG_DEBUG, "UDP address of %s set to %s", n->name, n->hostname); } else { -- 2.25.1