This commit is contained in:
Lukian 2023-11-20 17:48:40 +01:00
parent 0c6cf142a4
commit 370856ec3d
9 changed files with 68 additions and 42 deletions

View file

@ -25,7 +25,7 @@ void readConfs(ptConf confChain) {
token = strtok(NULL, ",");
}
addConf(confChain, tokens[1], tokens[2], atoi(tokens[3]), atoi(tokens[4]), atoi(tokens[5]));
addConf(confChain, atoi(tokens[0]), tokens[1], tokens[2], atoi(tokens[3]), atoi(tokens[4]), atoi(tokens[5]));
}
fclose(file);