aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/test_mesh_tree_api.c
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 /src/mesh/test_mesh_tree_api.c
parent29074f47416133c9d8443019c84f4c222f274c0c (diff)
downloadgnunet-2121baf90b5f9885ade6d95b440f8276a0e76199.tar.gz
gnunet-2121baf90b5f9885ade6d95b440f8276a0e76199.zip
- Fixed an insufficient allocation, probably causing OS X crashes
Diffstat (limited to 'src/mesh/test_mesh_tree_api.c')
-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[])
170 } 170 }
171 tree = tree_new (1); 171 tree = tree_new (1);
172 tree->me = tree->root; 172 tree->me = tree->root;
173 path = path_new (4); 173 path = path_new (5);
174 path->peers[0] = 1; 174 path->peers[0] = 1;
175 path->peers[1] = 2; 175 path->peers[1] = 2;
176 path->peers[2] = 3; 176 path->peers[2] = 3;