summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: de38c1a)
raw | patch | inline | side by side (parent: de38c1a)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 17 Aug 2009 08:52:16 +0000 (10:52 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 17 Aug 2009 08:52:16 +0000 (10:52 +0200) |
The number of children was not updated.
src/java.c | patch | blob | history |
diff --git a/src/java.c b/src/java.c
index 1d762219c0fe710613f9e6729ac7efa63b110022..73fd566ba87becf5d67f47aef314b76fb4cf955b 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,