projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68f4e2e
)
Added check to catch #1871
author
Bart Polot
<bart@net.in.tum.de>
Fri, 4 Nov 2011 12:35:18 +0000
(12:35 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Fri, 4 Nov 2011 12:35:18 +0000
(12:35 +0000)
src/mesh/gnunet-service-mesh.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh.c
b/src/mesh/gnunet-service-mesh.c
index 5acaf21b93b6eee1e23390787f6d8d0715904c28..2d286e145afc36b1409d5911bc21cec8648aa7df 100644
(file)
--- 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);