|
|
@ -290,6 +290,7 @@ void template_cfg(char* cmd, dictionary* load_cfg) {
|
|
|
|
clear_array();
|
|
|
|
clear_array();
|
|
|
|
int size = 0;
|
|
|
|
int size = 0;
|
|
|
|
char** cfg = yon_config_load(cmd, &size);
|
|
|
|
char** cfg = yon_config_load(cmd, &size);
|
|
|
|
|
|
|
|
philos_array_string_remove_char(&cfg, "\n", size);
|
|
|
|
for (int index = 0; index < size; index++) {
|
|
|
|
for (int index = 0; index < size; index++) {
|
|
|
|
char* str_key_value = yon_char_new(cfg[index]);
|
|
|
|
char* str_key_value = yon_char_new(cfg[index]);
|
|
|
|
char* str_key = yon_char_divide_search(str_key_value, "=",-1);
|
|
|
|
char* str_key = yon_char_divide_search(str_key_value, "=",-1);
|
|
|
|