aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh.c
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 /src/mesh/gnunet-service-mesh.c
parente79f6019ce2f082bd247e1d4fca950d0c7cb7b57 (diff)
downloadgnunet-3b88b34d978ad341856b0f31b78e8d4a4c98d52c.tar.gz
gnunet-3b88b34d978ad341856b0f31b78e8d4a4c98d52c.zip
Small fixes
Diffstat (limited to 'src/mesh/gnunet-service-mesh.c')
-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,
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 &notify_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. */