diff options
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 3 |
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, | |||
1901 | GNUNET_break (GNUNET_OK == | 1901 | GNUNET_break (GNUNET_OK == |
1902 | tree_del_peer (t->tree, | 1902 | tree_del_peer (t->tree, |
1903 | p->peers[p->length - 1], | 1903 | p->peers[p->length - 1], |
1904 | ¬ify_peer_disconnected)); | 1904 | NULL)); |
1905 | if (NULL == t->tree->root) | 1905 | if (NULL == t->tree->root) |
1906 | tunnel_destroy (t); | 1906 | tunnel_destroy (t); |
1907 | } | 1907 | } |
@@ -2364,7 +2364,6 @@ handle_mesh_path_create (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
2364 | return 0; | 2364 | return 0; |
2365 | } | 2365 | } |
2366 | tunnel_add_path (t, path, own_pos); | 2366 | tunnel_add_path (t, path, own_pos); |
2367 | t->tree->me = tree_find_peer(t->tree->root, myid); | ||
2368 | if (own_pos == size - 1) | 2367 | if (own_pos == size - 1) |
2369 | { | 2368 | { |
2370 | /* It is for us! Send ack. */ | 2369 | /* It is for us! Send ack. */ |