refactor: more maintainability

This commit is contained in:
2025-11-23 15:55:43 +01:00
parent 1f5f502905
commit 06544ee23e
3 changed files with 60 additions and 43 deletions
+2 -1
View File
@@ -116,7 +116,8 @@ static void randomize(SharedContext *context, const StateConfig *state_config) {
}
static void load_from_file(SharedContext *context,
const StateConfig *state_config, char *state_file) {
const StateConfig *state_config,
const char *state_file) {
ConfigFile saved_state;
char key[STR_LEN];