aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh')
-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 6ad5e9189..ec92a5ece 100644
--- a/src/mesh/test_mesh_tree_api.c
+++ b/src/mesh/test_mesh_tree_api.c
@@ -181,7 +181,7 @@ main (int argc, char *argv[])
181 tree_add_path (tree, path, &cb, NULL); 181 tree_add_path (tree, path, &cb, NULL);
182 tree_debug (tree); 182 tree_debug (tree);
183 path1 = tree_get_path_to_peer (tree, 4); 183 path1 = tree_get_path_to_peer (tree, 4);
184 if (path->length != path1->length || 184 if (NULL == path1 || path->length != path1->length ||
185 memcmp (path->peers, path1->peers, path->length) != 0) 185 memcmp (path->peers, path1->peers, path->length) != 0)
186 { 186 {
187 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Retrieved path != original\n"); 187 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Retrieved path != original\n");