summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dht/gnunet-service-dht_neighbours.c3
-rw-r--r--src/dht/gnunet-service-dht_routing.c4
-rw-r--r--src/dht/gnunet-service-dht_routing.h6
3 files changed, 4 insertions, 9 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c
index e7586ad24..1b4082830 100644
--- a/src/dht/gnunet-service-dht_neighbours.c
+++ b/src/dht/gnunet-service-dht_neighbours.c
@@ -2380,8 +2380,7 @@ handle_dht_p2p_result (void *cls,
data);
}
/* forward to other peers */
- GDS_ROUTING_process (NULL,
- type,
+ GDS_ROUTING_process (type,
GNUNET_TIME_absolute_ntoh (prm->expiration_time),
&prm->key,
put_path_length,
diff --git a/src/dht/gnunet-service-dht_routing.c b/src/dht/gnunet-service-dht_routing.c
index eebeedc22..098b6e895 100644
--- a/src/dht/gnunet-service-dht_routing.c
+++ b/src/dht/gnunet-service-dht_routing.c
@@ -276,7 +276,6 @@ process (void *cls,
* GDS_NEIGHBOURS_handle_reply for all peers that sent us a matching
* request recently.
*
- * @param cls NULL (why have it?)
* @param type type of the block
* @param expiration_time when does the content expire
* @param key key for the content
@@ -288,8 +287,7 @@ process (void *cls,
* @param data_size number of bytes in data
*/
void
-GDS_ROUTING_process (void *cls,
- enum GNUNET_BLOCK_Type type,
+GDS_ROUTING_process (enum GNUNET_BLOCK_Type type,
struct GNUNET_TIME_Absolute expiration_time,
const struct GNUNET_HashCode *key,
unsigned int put_path_length,
diff --git a/src/dht/gnunet-service-dht_routing.h b/src/dht/gnunet-service-dht_routing.h
index 39f877ad8..ad7958363 100644
--- a/src/dht/gnunet-service-dht_routing.h
+++ b/src/dht/gnunet-service-dht_routing.h
@@ -35,10 +35,9 @@
* Handle a reply (route to origin). Only forwards the reply back to
* other peers waiting for it. Does not do local caching or
* forwarding to local clients. Essentially calls
- * GDS_NEIGHBOURS_handle_reply for all peers that sent us a matching
+ * #GDS_NEIGHBOURS_handle_reply() for all peers that sent us a matching
* request recently.
*
- * @param cls NULL (why have it?)
* @param type type of the block
* @param expiration_time when does the content expire
* @param key key for the content
@@ -50,8 +49,7 @@
* @param data_size number of bytes in @a data
*/
void
-GDS_ROUTING_process (void *cls,
- enum GNUNET_BLOCK_Type type,
+GDS_ROUTING_process (enum GNUNET_BLOCK_Type type,
struct GNUNET_TIME_Absolute expiration_time,
const struct GNUNET_HashCode *key,
unsigned int put_path_length,