From d53bc3d5c5b3fbbc3d73657f226477959efcde58 Mon Sep 17 00:00:00 2001 From: Nazim Gaoua Date: Tue, 1 Oct 2024 15:39:15 +0200 Subject: [PATCH] =?UTF-8?q?R=C3=A9initialisation=20de=20liste.c=20=C3=A0?= =?UTF-8?q?=20une=20version=20pr=C3=A9c=C3=A9dente=20pour=20r=C3=A9soudre?= =?UTF-8?q?=20le=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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) {