projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
73e6b65
)
- more fixmes
author
Bart Polot
<bart@net.in.tum.de>
Wed, 25 Jul 2012 09:02:25 +0000
(09:02 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Wed, 25 Jul 2012 09:02:25 +0000
(09:02 +0000)
src/mesh/gnunet-service-mesh.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh.c
b/src/mesh/gnunet-service-mesh.c
index 060dc0ae037a7c654e5c023294d39cc96373c279..1f9a7736b6f49af6e196bca8229780953398a456 100644
(file)
--- 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.
* 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)
*/
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);
}
/* 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));
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);
info = GNUNET_malloc (sizeof (struct MeshTransmissionDescriptor));
info->origin = &t->id;
info->peer = GNUNET_CONTAINER_multihashmap_get (peers, &peer->hashPubKey);