diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-02-27 01:18:54 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-02-27 01:19:18 +0100 |
commit | 6da407ad72fdca282094ccdb5558ece9638e3bd3 (patch) | |
tree | 9b93ef7431143588be591e97f2bb0409ff4493ef /src/revocation/gnunet-service-revocation.c | |
parent | 3112e64ef06f71b06e9f047f2c6dd1be0941a565 (diff) | |
download | gnunet-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.c | 2 |
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 | */ |
437 | static void | 438 | static void |
438 | add_revocation (void *cls, | 439 | add_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; |