diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-29 21:33:32 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-29 21:33:32 +0530 |
commit | 56d0a87cc7f4ca4985db93a719726345a073d20f (patch) | |
tree | 5180c021640bdf99f10cd495b95ea79e0c3a4739 /src/main.c | |
parent | c88c251b899ca0e0b3fe34217bdf2d6ce1b677be (diff) |
config: array_values must be wrapped
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -119,8 +119,9 @@ main(int argc, char **argv) free(assets_directory); config_t *config = config_fetch_and_parse(CONFIG_FILE); - list_t *resources = list_find_corresponding_value_from_ptr_wrapper( - config->keys, config->array_values, "resources"); + list_t *resources + = get_wrapped(list_find_corresponding_value_from_ptr_wrapper( + config->keys, config->array_values, "resources")); if (resources == NULL) { printf("Could not find resources in config.cfg\n"); |