diff options
author | bartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96> | 2011-11-04 12:35:18 +0000 |
---|---|---|
committer | bartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96> | 2011-11-04 12:35:18 +0000 |
commit | 06a684471fde02dd1d2cc4251838b0e93c795a7b (patch) | |
tree | c6db7182d0a2c45a9301d78c7b8185da82a86126 | |
parent | e6a2c08ee29372638cf107f3d3bf861781beb242 (diff) |
Added check to catch #1871
git-svn-id: https://gnunet.org/svn/gnunet@17984 140774ce-b5e7-0310-ab8b-a85725594a96
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 5acaf21b93..2d286e145a 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -1579,6 +1579,7 @@ path_add_to_peer (struct MeshPeerInfo *peer_info, return; } + GNUNET_assert (peer_info->id == path->peers[path->length - 1]); for (aux = peer_info->path_head; aux != NULL; aux = aux->next) { l2 = path_get_length (aux); |