diff options
Diffstat (limited to 'src/mesh/mesh_tunnel_tree.c')
-rw-r--r-- | src/mesh/mesh_tunnel_tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesh/mesh_tunnel_tree.c b/src/mesh/mesh_tunnel_tree.c index e39558c0b..b43fb2534 100644 --- a/src/mesh/mesh_tunnel_tree.c +++ b/src/mesh/mesh_tunnel_tree.c | |||
@@ -900,6 +900,8 @@ tree_add_path (struct MeshTunnelTree *t, const struct MeshPeerPath *p, | |||
900 | } | 900 | } |
901 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "tree: New node added.\n"); | 901 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "tree: New node added.\n"); |
902 | #endif | 902 | #endif |
903 | if (NULL == t->me) | ||
904 | t->me = tree_find_peer (t, 1); | ||
903 | return GNUNET_OK; | 905 | return GNUNET_OK; |
904 | } | 906 | } |
905 | 907 | ||