Fixed config_load Function size parameter

pull/87/head
parent f55205d35e
commit 6b91e0c211

@ -1099,6 +1099,7 @@ enum YON_CONFIG_SAVED_TYPE yon_config_register_default(char *key,char *config_lo
config_str yon_config_load(char *command, int *str_len){ config_str yon_config_load(char *command, int *str_len){
(*str_len) = 0;
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