diff options
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index a8b132d7a..9d3784567 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -2530,7 +2530,8 @@ handle_mesh_path_create (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
2530 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2530 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2531 | "MESH: It's for us!\n"); | 2531 | "MESH: It's for us!\n"); |
2532 | path_add_to_origin (orig_peer_info, path); | 2532 | path_add_to_origin (orig_peer_info, path); |
2533 | t->peers = GNUNET_CONTAINER_multihashmap_create(4); | 2533 | if (NULL == t->peers) |
2534 | t->peers = GNUNET_CONTAINER_multihashmap_create(4); | ||
2534 | GNUNET_break (GNUNET_OK == GNUNET_CONTAINER_multihashmap_put ( | 2535 | GNUNET_break (GNUNET_OK == GNUNET_CONTAINER_multihashmap_put ( |
2535 | t->peers, | 2536 | t->peers, |
2536 | &my_full_id.hashPubKey, | 2537 | &my_full_id.hashPubKey, |