return false;
}
- int result = snprintf(tmpfile, sizeof(tmpfile), "%s.tmp", filename);
+ size_t result = snprintf(tmpfile, sizeof(tmpfile), "%s.tmp", filename);
if(result < sizeof(tmpfile)) {
struct stat st = {.st_mode = 0600};
char *p;
if(!*config_tree) {
- init_configuration(config_tree);
+ *config_tree = create_configuration();
if(!read_host_config(*config_tree, name, true)) {
return false;