summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-10-19 17:31:39 +0000
committerBart Polot <bart@net.in.tum.de>2011-10-19 17:31:39 +0000
commit3b88b34d978ad341856b0f31b78e8d4a4c98d52c (patch)
tree2c6c153728856b2afda7be6d92180303967e8d01
parente79f6019ce2f082bd247e1d4fca950d0c7cb7b57 (diff)
Small fixes
-rw-r--r--src/mesh/gnunet-service-mesh.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index d7cf59f03..5163e8be4 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -1901,7 +1901,7 @@ tunnel_delete_path (struct MeshTunnel *t,
GNUNET_break (GNUNET_OK ==
tree_del_peer (t->tree,
p->peers[p->length - 1],
- &notify_peer_disconnected));
+ NULL));
if (NULL == t->tree->root)
tunnel_destroy (t);
}
@@ -2364,7 +2364,6 @@ handle_mesh_path_create (void *cls, const struct GNUNET_PeerIdentity *peer,
return 0;
}
tunnel_add_path (t, path, own_pos);
- t->tree->me = tree_find_peer(t->tree->root, myid);
if (own_pos == size - 1)
{
/* It is for us! Send ack. */