From ad03f35fd74899b5c3a79eaf7b680566c0a16e9a Mon Sep 17 00:00:00 2001 From: AdemCRTL Date: Mon, 27 Jan 2025 10:08:39 +0100 Subject: [PATCH] fix: bug return last version --- liste.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/liste.c b/liste.c index ce30547..86a69e2 100755 --- a/liste.c +++ b/liste.c @@ -39,11 +39,10 @@ liste supprimer(liste l) { void afficherliste(liste l) { liste tmp = l; - do { + while (tmp->next != NULL) { affichage_voie(tmp->contenu); tmp=tmp->next; } - while (tmp->next != NULL); } int case_vide(liste l) {