[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: eliminate dead argument
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: eliminate dead argument |
Date: |
Wed, 22 Feb 2017 16:02:11 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 633bed1b6 eliminate dead argument
633bed1b6 is described below
commit 633bed1b616820d351b4ed3216273138a28587f2
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Feb 22 16:03:22 2017 +0100
eliminate dead argument
---
src/dht/gnunet-service-dht_neighbours.c | 3 +--
src/dht/gnunet-service-dht_routing.c | 4 +---
src/dht/gnunet-service-dht_routing.h | 6 ++----
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,
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: eliminate dead argument,
gnunet <=