Command fix

pull/14/head
parent d77641625c
commit 2e2ba46eb1

@ -321,7 +321,7 @@ template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){
loaded.dict = yon_dictionary_new(); loaded.dict = yon_dictionary_new();
dictionary *dct; dictionary *dct;
for_dictionaries(dct,section_commands){ for_dictionaries(dct,section_commands){
char *command = yon_char_unite(ubconfig_load_command_old," ", config_to_save," get ", dct->key," ", yon_dictionary_get_data(dct,char*),NULL); char *command = yon_char_unite(ubconfig_load_command," ", config_to_save," get ", dct->key," ", yon_dictionary_get_data(dct,char*),NULL);
FILE *output = popen(command, "r"); FILE *output = popen(command, "r");
char **output_strings = NULL; char **output_strings = NULL;
output_strings = malloc(sizeof(char*)); output_strings = malloc(sizeof(char*));

Loading…
Cancel
Save