mirror of
https://github.com/bgp/bgpq4.git
synced 2024-05-11 05:55:05 +00:00
ok, some bugs fixed.
This commit is contained in:
@ -226,7 +226,7 @@ next:
|
||||
node->parent->r=node->r;
|
||||
node->r->parent=node->parent;
|
||||
} else if(node->parent->l==node) {
|
||||
node->parent->l=node->l;
|
||||
node->parent->l=node->r;
|
||||
node->r->parent=node->parent;
|
||||
} else {
|
||||
sx_report(SX_ERROR,"Unlinking node which is not descendant "
|
||||
@ -369,6 +369,7 @@ next:
|
||||
rn->l=ret;
|
||||
rn->r=chead;
|
||||
};
|
||||
rn->parent=chead->parent;
|
||||
chead->parent=rn;
|
||||
ret->parent=rn;
|
||||
rn->isGlue=1;
|
||||
|
Reference in New Issue
Block a user