aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/gnunet-service-revocation.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-02-27 01:18:54 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-02-27 01:19:18 +0100
commit6da407ad72fdca282094ccdb5558ece9638e3bd3 (patch)
tree9b93ef7431143588be591e97f2bb0409ff4493ef /src/revocation/gnunet-service-revocation.c
parent3112e64ef06f71b06e9f047f2c6dd1be0941a565 (diff)
downloadgnunet-6da407ad72fdca282094ccdb5558ece9638e3bd3.tar.gz
gnunet-6da407ad72fdca282094ccdb5558ece9638e3bd3.zip
include set size in result callback, needed by consensus
Diffstat (limited to 'src/revocation/gnunet-service-revocation.c')
-rw-r--r--src/revocation/gnunet-service-revocation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c
index 0ac963f63..99bec1fc8 100644
--- a/src/revocation/gnunet-service-revocation.c
+++ b/src/revocation/gnunet-service-revocation.c
@@ -432,11 +432,13 @@ handle_p2p_revoke (void *cls,
432 * 432 *
433 * @param cls closure 433 * @param cls closure
434 * @param element a result element, only valid if status is #GNUNET_SET_STATUS_OK 434 * @param element a result element, only valid if status is #GNUNET_SET_STATUS_OK
435 * @param current_size current set size
435 * @param status see `enum GNUNET_SET_Status` 436 * @param status see `enum GNUNET_SET_Status`
436 */ 437 */
437static void 438static void
438add_revocation (void *cls, 439add_revocation (void *cls,
439 const struct GNUNET_SET_Element *element, 440 const struct GNUNET_SET_Element *element,
441 uint64_t current_size,
440 enum GNUNET_SET_Status status) 442 enum GNUNET_SET_Status status)
441{ 443{
442 struct PeerEntry *peer_entry = cls; 444 struct PeerEntry *peer_entry = cls;