4 ms·
That traversal doesn't traverse. It just skip list to entry->next and would keep resetting. You could do something like this instead: link = &((*link)->next
by fr0sty 14y ago
That traversal doesn't traverse. It just skip list to entry->next and would keep resetting.
You could do something like this instead:
link = &((*link)->next);
- nickkthequick 14y agoYes and then to set it would be *link = (*link)->next;