correction append
Tests TP prog-104-p-02-2030 / test (push) Failing after 28s

This commit is contained in:
2026-04-03 16:45:12 +02:00
parent 95129eb608
commit 72a13f7a19
@@ -11,7 +11,8 @@ struct dlist *dlist_append(struct dlist *l, int e)
new_node->prev = NULL;
new_node->next = l;
new_node->data = e;
l->prev = new_node;
if (l) l->prev = new_node;
return new_node;