fix: lst_addback

This commit is contained in:
starnakin 2023-06-28 18:14:35 +02:00
parent 216cb22cae
commit 3732452c1d

View File

@ -9,7 +9,7 @@ void lst_addback(lst **root, lst *nouveau)
nouveau->next = NULL;
if (current == NULL)
{
current = nouveau;
*root = nouveau;
return;
}
while (current->next != NULL)