v4.0.0-rc4 - add config parsing
This commit is contained in:
parent
7196d1e955
commit
3abcbcb00b
11
libglacier.c
11
libglacier.c
@ -200,7 +200,10 @@ init_config()
|
||||
return(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
infolog("Initialized libconfig");
|
||||
if (LG_VERBOSE == 1) {
|
||||
infolog("Initialized libconfig");
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -217,7 +220,11 @@ int
|
||||
die_config()
|
||||
{
|
||||
config_destroy(&cfg);
|
||||
infolog("Destroyed libconfig");
|
||||
|
||||
if (LG_VERBOSE == 1) {
|
||||
infolog("Destroyed libconfig");
|
||||
}
|
||||
|
||||
return(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user