author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 17 Aug 2009 08:53:07 +0000 (10:53 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 17 Aug 2009 08:53:07 +0000 (10:53 +0200) |
src/java.c | patch | blob | history |
diff --git a/src/java.c b/src/java.c
index e029a0b1e2f0fb1d80e8d601e541271ff5c99916..87b189fa1d6f647174dc3f813f80bdf4f4dc8886 100644 (file)
--- a/src/java.c
+++ b/src/java.c
memcpy (config_block->children + config_block->children_num,
ci_copy->children,
ci_copy->children_num * sizeof (*ci_copy->children));
+ config_block->children_num += ci_copy->children_num;
/* Delete the pointers from the copy, so `oconfig_free' can't free them. */
memset (ci_copy->children, 0,