summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-11-30 10:32:31 +0000
committerBart Polot <bart@net.in.tum.de>2011-11-30 10:32:31 +0000
commit2121baf90b5f9885ade6d95b440f8276a0e76199 (patch)
tree873b34bfa312bbd531cf2c31e9d783d8163a1e3a
parent29074f47416133c9d8443019c84f4c222f274c0c (diff)
- Fixed an insufficient allocation, probably causing OS X crashes
-rw-r--r--src/mesh/test_mesh_tree_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/test_mesh_tree_api.c b/src/mesh/test_mesh_tree_api.c
index 60e31bdde..1d43135e4 100644
--- a/src/mesh/test_mesh_tree_api.c
+++ b/src/mesh/test_mesh_tree_api.c
@@ -170,7 +170,7 @@ main (int argc, char *argv[])
}
tree = tree_new (1);
tree->me = tree->root;
- path = path_new (4);
+ path = path_new (5);
path->peers[0] = 1;
path->peers[1] = 2;
path->peers[2] = 3;