diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-08-01 19:59:54 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-08-01 19:59:54 +0530 |
commit | eec951a2f92d18260acef6d421ee059d0511673b (patch) | |
tree | ac4e27d96d245184b643adc0606e50a305f36a1e /src/msg.c | |
parent | 62636d863fb6577b67d49c84992685d77a30655f (diff) |
util: get_wrapped->unwrap
Diffstat (limited to 'src/msg.c')
-rw-r--r-- | src/msg.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -158,7 +158,7 @@ run(void) return EXIT_FAILURE; } - list_t *static_ = get_wrapped(list_find_corresponding_value_from_ptr_wrapper( + list_t *static_ = unwrap(list_find_corresponding_value_from_ptr_wrapper( config->keys, config->array_values, "static")); if (static_ == NULL) { @@ -183,9 +183,8 @@ run(void) free(path); } - list_t *resources - = get_wrapped(list_find_corresponding_value_from_ptr_wrapper( - config->keys, config->array_values, "resources")); + list_t *resources = unwrap(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"); |