Added debug outputs

pull/19/head
parent 27cb67918e
commit 48eb689e91

@ -1372,12 +1372,14 @@ int yon_config_save_registered(char *path){
for_dictionaries(dct,sections_add){
char *command = yon_dictionary_get_data(dct,char*);
yon_launch(command);
printf("%s\n",command);
}
yon_dictionary_free_all(sections_add,free);
if (sections_remove)
for_dictionaries(dct,sections_remove){
char *command = yon_dictionary_get_data(dct,char*);
yon_launch(command);
printf("%s\n",command);
}
yon_dictionary_free_all(sections_remove,free);
if (sections_add||sections_remove)

@ -607,6 +607,8 @@ typedef enum {
YON_CONFIG_DEFAULT
} YON_CONFIG_TYPE;
static int debug_output = 0;
/**yon_config_load(char *command, int *str_len)
* [EN]
*

Loading…
Cancel
Save