Small fixes
authorBart Polot <bart@net.in.tum.de>
Wed, 19 Oct 2011 17:31:39 +0000 (17:31 +0000)
committerBart Polot <bart@net.in.tum.de>
Wed, 19 Oct 2011 17:31:39 +0000 (17:31 +0000)
src/mesh/gnunet-service-mesh.c

index d7cf59f032da3299dce04b271c9921ee2c087c60..5163e8be438460d1d07d5dd45f130c700cdb87df 100644 (file)
@@ -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. */