Fix list (copy) lnode push
This commit is contained in:
parent
ea0673ee1e
commit
183c9af18a
@ -25,8 +25,8 @@ static void push_next(list_t* x, vnode_t v, vtype t) {
|
||||
node->node = v;
|
||||
node->type = t;
|
||||
|
||||
x->last = node;
|
||||
x->last->next = node;
|
||||
x->last = node;
|
||||
}
|
||||
|
||||
/*#####################################################################################################################*/
|
||||
|
Loading…
Reference in New Issue
Block a user