aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-09-26 15:56:52 +0000
committerBart Polot <bart@net.in.tum.de>2011-09-26 15:56:52 +0000
commiteea392cfb326b6cd3eadaf74ffd8e71d570d235e (patch)
tree783e25461d5290ab4a8dabfb59d17838ae5bc274 /src/mesh
parent659f91758ced91c6a993e6632d8cbada69246bc7 (diff)
downloadgnunet-eea392cfb326b6cd3eadaf74ffd8e71d570d235e.tar.gz
gnunet-eea392cfb326b6cd3eadaf74ffd8e71d570d235e.zip
Minor fix, comments
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/gnunet-service-mesh.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index 79f9182f0..9fc388517 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -616,8 +616,6 @@ announce_id (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
616 * @param type type of the result 616 * @param type type of the result
617 * @param size number of bytes in data 617 * @param size number of bytes in data
618 * @param data pointer to the result data 618 * @param data pointer to the result data
619 *
620 * FIXME path
621 */ 619 */
622static void 620static void
623dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp, 621dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
@@ -781,6 +779,8 @@ path_remove_from_peer (struct MeshPeerInfo *peer,
781 { 779 {
782 struct MeshPathInfo *path_info; 780 struct MeshPathInfo *path_info;
783 781
782 if (NULL != peer_d->dhtget)
783 return;
784 path_info = GNUNET_malloc(sizeof(struct MeshPathInfo)); 784 path_info = GNUNET_malloc(sizeof(struct MeshPathInfo));
785 path_info->path = p; 785 path_info->path = p;
786 path_info->peer = peer_d; 786 path_info->peer = peer_d;
@@ -1143,8 +1143,6 @@ tunnel_add_peer (struct MeshTunnel *t, struct MeshPeerInfo *peer)
1143 * 1143 *
1144 * @return Short ID of the peer disconnected (either p1 or p2). 1144 * @return Short ID of the peer disconnected (either p1 or p2).
1145 * 0 if the tunnel remained unaffected. 1145 * 0 if the tunnel remained unaffected.
1146 *
1147 * FIXME working on it
1148 */ 1146 */
1149static GNUNET_PEER_Id 1147static GNUNET_PEER_Id
1150tunnel_notify_connection_broken (struct MeshTunnel *t, 1148tunnel_notify_connection_broken (struct MeshTunnel *t,
@@ -2118,7 +2116,7 @@ notify_client_connection_failure (void *cls, size_t size, void *buf)
2118 * @param size number of bytes in data 2116 * @param size number of bytes in data
2119 * @param data pointer to the result data 2117 * @param data pointer to the result data
2120 * 2118 *
2121 * FIXME path 2119 * TODO: re-issue the request after certain time? cancel after X results?
2122 */ 2120 */
2123static void 2121static void
2124dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp, 2122dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,