diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-22 16:01:19 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-22 16:01:19 +0100 |
commit | b5a1e1405a9d294e4b06b13da7b1cf6a3638f6ab (patch) | |
tree | 5b378ee24a31f5ef00845c0681a0f95a28173273 /src/dht/gnunet-service-dht_routing.h | |
parent | 2b6c2c7dbae7977f3a28f19a9b4cc9e136b90ba5 (diff) | |
download | gnunet-b5a1e1405a9d294e4b06b13da7b1cf6a3638f6ab.tar.gz gnunet-b5a1e1405a9d294e4b06b13da7b1cf6a3638f6ab.zip |
fix bug introduced with BLOCK change where we would eval a local reply twice and discard it as duplicate in the end
Diffstat (limited to 'src/dht/gnunet-service-dht_routing.h')
-rw-r--r-- | src/dht/gnunet-service-dht_routing.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dht/gnunet-service-dht_routing.h b/src/dht/gnunet-service-dht_routing.h index 1d9284164..39f877ad8 100644 --- a/src/dht/gnunet-service-dht_routing.h +++ b/src/dht/gnunet-service-dht_routing.h | |||
@@ -38,7 +38,7 @@ | |||
38 | * GDS_NEIGHBOURS_handle_reply for all peers that sent us a matching | 38 | * GDS_NEIGHBOURS_handle_reply for all peers that sent us a matching |
39 | * request recently. | 39 | * request recently. |
40 | * | 40 | * |
41 | * @param cls closure | 41 | * @param cls NULL (why have it?) |
42 | * @param type type of the block | 42 | * @param type type of the block |
43 | * @param expiration_time when does the content expire | 43 | * @param expiration_time when does the content expire |
44 | * @param key key for the content | 44 | * @param key key for the content |
@@ -72,7 +72,7 @@ GDS_ROUTING_process (void *cls, | |||
72 | * @param key key for the content | 72 | * @param key key for the content |
73 | * @param xquery extended query | 73 | * @param xquery extended query |
74 | * @param xquery_size number of bytes in @a xquery | 74 | * @param xquery_size number of bytes in @a xquery |
75 | */ | 75 | */ |
76 | void | 76 | void |
77 | GDS_ROUTING_add (const struct GNUNET_PeerIdentity *sender, | 77 | GDS_ROUTING_add (const struct GNUNET_PeerIdentity *sender, |
78 | enum GNUNET_BLOCK_Type type, | 78 | enum GNUNET_BLOCK_Type type, |