- more fixmes
authorBart Polot <bart@net.in.tum.de>
Wed, 25 Jul 2012 09:02:25 +0000 (09:02 +0000)
committerBart Polot <bart@net.in.tum.de>
Wed, 25 Jul 2012 09:02:25 +0000 (09:02 +0000)
src/mesh/gnunet-service-mesh.c

index 060dc0ae037a7c654e5c023294d39cc96373c279..1f9a7736b6f49af6e196bca8229780953398a456 100644 (file)
@@ -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);