From 276328cd16b253961dc140eff2ed994d62d16661 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 25 Jul 2012 09:02:25 +0000 Subject: [PATCH] - more fixmes --- src/mesh/gnunet-service-mesh.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 060dc0ae0..1f9a7736b 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -2562,7 +2562,7 @@ path_build_from_dht (const struct GNUNET_PeerIdentity *get_path, * Adds a path to the peer_infos of all the peers in the path * * @param p Path to process. - * @param confirmed Whether we know if the path works or not. FIXME use + * @param confirmed Whether we know if the path works or not. */ static void path_add_to_peers (struct MeshPeerPath *p, int confirmed) @@ -3983,13 +3983,12 @@ handle_mesh_path_create (void *cls, const struct GNUNET_PeerIdentity *peer, /* New tunnel! Notify clients on data. */ t->peers = GNUNET_CONTAINER_multihashmap_create (4); } - GNUNET_break (GNUNET_OK == + GNUNET_break (GNUNET_SYSERR != GNUNET_CONTAINER_multihashmap_put (t->peers, &my_full_id.hashPubKey, peer_info_get (&my_full_id), GNUNET_CONTAINER_MULTIHASHMAPOPTION_REPLACE)); - // FIXME URGENT (GNUNET_NO?) info = GNUNET_malloc (sizeof (struct MeshTransmissionDescriptor)); info->origin = &t->id; info->peer = GNUNET_CONTAINER_multihashmap_get (peers, &peer->hashPubKey); -- 2.25.1