Remove superfluous call to avl_delete().

This commit is contained in:
Guus Sliepen 2009-09-13 14:07:40 +02:00
parent 9915f2abbe
commit 23e151aeed

View file

@ -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 {