Remove superfluous call to avl_delete().
This commit is contained in:
parent
9915f2abbe
commit
23e151aeed
1 changed files with 0 additions and 1 deletions
|
@ -174,7 +174,6 @@ void update_node_udp(node_t *n, const sockaddr_t *sa)
|
||||||
if(sa) {
|
if(sa) {
|
||||||
n->address = *sa;
|
n->address = *sa;
|
||||||
n->hostname = sockaddr2hostname(&n->address);
|
n->hostname = sockaddr2hostname(&n->address);
|
||||||
avl_delete(node_udp_tree, n);
|
|
||||||
avl_insert(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);
|
ifdebug(PROTOCOL) logger(LOG_DEBUG, "UDP address of %s set to %s", n->name, n->hostname);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue