projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- disable try_connect to force topology
[oweals/gnunet.git]
/
src
/
mesh
/
mesh_tunnel_tree.c
diff --git
a/src/mesh/mesh_tunnel_tree.c
b/src/mesh/mesh_tunnel_tree.c
index 3402f6743b7f53ee68bdaa3a8fff81e4bd151aeb..41b25c3a431c2a553a2e196ae003ffd69ed408b6 100644
(file)
--- a/
src/mesh/mesh_tunnel_tree.c
+++ b/
src/mesh/mesh_tunnel_tree.c
@@
-742,7
+742,7
@@
tree_del_path (struct MeshTunnelTree *t, GNUNET_PEER_Id peer_id,
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "tree: Deleting path to %s.\n",
GNUNET_i2s (&id));
#endif
- if (peer_id == t->root->peer)
+ if (
NULL == t->root ||
peer_id == t->root->peer)
return NULL;
for (n = t->disconnected_head; NULL != n; n = n->next)