This commit is contained in:
Lukian LEIZOUR 2023-11-30 15:59:10 +01:00
parent a70b104817
commit 36319a7b7f
8 changed files with 207 additions and 153 deletions

View file

@ -94,8 +94,10 @@ void saveRelations(ptConf confChain) {
FILE *file = fopen("./data/relations", "w");
ptConf px = confChain;
ptListenerList py;
printf("test");
while(px -> next != NULL){
py = px -> listeners;
printf("test");
py = px -> listeners -> next;
if (py -> next != NULL) {
fprintf(file, "%d:", px -> id);