summaryrefslogtreecommitdiff
path: root/pom.c
diff options
context:
space:
mode:
Diffstat (limited to 'pom.c')
-rw-r--r--pom.c1
1 files changed, 1 insertions, 0 deletions
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);