diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-09-26 15:56:52 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-09-26 15:56:52 +0000 |
commit | eea392cfb326b6cd3eadaf74ffd8e71d570d235e (patch) | |
tree | 783e25461d5290ab4a8dabfb59d17838ae5bc274 /src/mesh | |
parent | 659f91758ced91c6a993e6632d8cbada69246bc7 (diff) | |
download | gnunet-eea392cfb326b6cd3eadaf74ffd8e71d570d235e.tar.gz gnunet-eea392cfb326b6cd3eadaf74ffd8e71d570d235e.zip |
Minor fix, comments
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 8 |
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 | */ |
622 | static void | 620 | static void |
623 | dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp, | 621 | dht_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 | */ |
1149 | static GNUNET_PEER_Id | 1147 | static GNUNET_PEER_Id |
1150 | tunnel_notify_connection_broken (struct MeshTunnel *t, | 1148 | tunnel_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 | */ |
2123 | static void | 2121 | static void |
2124 | dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp, | 2122 | dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp, |