This commit is contained in:
Andrew Pamment
2018-05-24 14:13:02 +10:00
parent 1fd7dc5230
commit 0f0ba2c368
2 changed files with 5 additions and 0 deletions

View File

@@ -299,6 +299,8 @@ void update_config_file_area(int areaid) {
}
fgets(buffer, 256, fptr1);
}
fclose(fptr1);
fclose(fptr2);
unlink(config_file);
rename(backup, config_file);
}