aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-11-25 17:41:03 +0000
committerBart Polot <bart@net.in.tum.de>2011-11-25 17:41:03 +0000
commit03e31611b8e485507d99c2f356c8cc7fa5858941 (patch)
tree0d467e9f7afd7d39756171d57e49168d126c7d9c /src/mesh
parent40bd9b1502fee3d9ecb1359ddb9dd53d4e0dbfc7 (diff)
downloadgnunet-03e31611b8e485507d99c2f356c8cc7fa5858941.tar.gz
gnunet-03e31611b8e485507d99c2f356c8cc7fa5858941.zip
-Fixed coverity #10265
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");