diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-11-30 10:32:31 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-11-30 10:32:31 +0000 |
commit | 2121baf90b5f9885ade6d95b440f8276a0e76199 (patch) | |
tree | 873b34bfa312bbd531cf2c31e9d783d8163a1e3a | |
parent | 29074f47416133c9d8443019c84f4c222f274c0c (diff) | |
download | gnunet-2121baf90b5f9885ade6d95b440f8276a0e76199.tar.gz gnunet-2121baf90b5f9885ade6d95b440f8276a0e76199.zip |
- Fixed an insufficient allocation, probably causing OS X crashes
-rw-r--r-- | src/mesh/test_mesh_tree_api.c | 2 |
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; |