diff --git a/header/sae.h b/header/sae.h index c917400..bb9f860 100644 --- a/header/sae.h +++ b/header/sae.h @@ -69,8 +69,8 @@ typedef struct maillonDept //Mise a jour du maillon pour correspondre à la partie 3 : int moyMin; int admisMax; - ListeCandidats ladmis; - ListeCandidats lattente; + ListeCandidats lAdmis; + ListeCandidats lAttente; struct maillonDept *suiv; }MaillonDept, *ListeDept; @@ -79,7 +79,7 @@ typedef struct maillonDept typedef struct { char nom[30]; - ListeDept ldept; + ListeDept lDept; }VilleIut; /* diff --git a/source/.nfs000000000666118700000019 b/source/.nfs000000000666118700000019 deleted file mode 100755 index a9acda4..0000000 Binary files a/source/.nfs000000000666118700000019 and /dev/null differ diff --git a/source/sae.c b/source/sae.c index 8fd7f5d..78d0cfa 100644 --- a/source/sae.c +++ b/source/sae.c @@ -259,7 +259,7 @@ int modifiePlacesDept(VilleIut *villeIut, int nbVilles, char *ville, char *nomDe if (strcmp(villeIut[i].nom, ville) == 0) { // Ville trouvée, recherche du département - MaillonDept *dept = villeIut[i].ldept; + MaillonDept *dept = villeIut[i].lDept; while (dept != NULL && strcmp(dept->nomDept, nomDept) != 0) { dept = dept->suiv; @@ -295,7 +295,7 @@ void afficheIUTDept(VilleIut *villeIut, int nbVilles, char *nomDept) for (i = 0; i < nbVilles; i++) { // Parcours de la liste chaînée de départements de la ville - MaillonDept *dept = villeIut[i].ldept; + MaillonDept *dept = villeIut[i].lDept; while (dept != NULL) { if (strcmp(dept->nomDept, nomDept) == 0)