dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
familia.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
338b1e4
)
TODO: Add children by their age.
author
Rafał Długołęcki
<rafal@dlugolecki.net.pl>
Sun, 12 Jan 2014 00:37:39 +0000
(
01:37
+0100)
committer
Rafał Długołęcki
<rafal@dlugolecki.net.pl>
Sun, 12 Jan 2014 00:37:39 +0000
(
01:37
+0100)
src/storage/family.c
patch
|
blob
|
history
diff --git
a/src/storage/family.c
b/src/storage/family.c
index f3806096d1f4923623e3e92ce1f2fc62927f7667..99353f1424bb60c8fe84efa5ba97e94c56d350e3 100644
(file)
--- a/
src/storage/family.c
+++ b/
src/storage/family.c
@@
-93,6
+93,7
@@
void familia_family_add_child(struct familia_family * family, struct familia_ind
tmp = realloc(family->children, size * sizeof(struct familia_individual *));
if (tmp) {
+ /* TODO: Add children by their age */
family->children = tmp;
family->children[family->children_no] = individual;
family->children_no++;