From b93385c0fded8d6c232267a8bd9293153baea777 Mon Sep 17 00:00:00 2001 From: pommicket Date: Mon, 15 Sep 2025 21:31:02 -0400 Subject: all_functions example --- pom.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pom.c') diff --git a/pom.c b/pom.c index 488c7a3..451d7b7 100644 --- a/pom.c +++ b/pom.c @@ -1572,6 +1572,7 @@ pom_conf_copy(const pom_conf *conf) { check_conf(conf); struct main_conf *new_main = pom_calloc(&conf->main->settings, 1, sizeof *new_main); if (!new_main) return NULL; + new_main->settings = conf->main->settings; pom_conf *new_root = conf_calloc(new_main, 1, sizeof *new_root); if (!new_root) { conf_free(new_main); -- cgit v1.2.3