lists issue
Arvin Gan
AGan at advaoptical.com
Fri Jul 27 08:53:18 CEST 2018
Hi all,
There may be an issue in blow function when deleted the node is the first one, that mean n->prev is NULL....., similarly, same issue as the last one node is deleted.
LIST_INLINE void
rem_node(node *n)
{
node *z = n->prev;
node *x = n->next;
z->next = x;
x->prev = z;
n->next = NULL;
n->prev = NULL;
}
Thanks
Arvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180727/96fb23f7/attachment.html>
More information about the Bird-users
mailing list