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/scalarproduct/gnunet-service-scalarproduct-ecc_bob.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/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c')
-rw-r--r-- | src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c b/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c index 8a5b3a5b2..3851ca763 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c +++ b/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c | |||
@@ -580,11 +580,13 @@ handle_alices_cryptodata_message (void *cls, | |||
580 | * | 580 | * |
581 | * @param cls closure with the `struct BobServiceSession` | 581 | * @param cls closure with the `struct BobServiceSession` |
582 | * @param element a result element, only valid if status is #GNUNET_SET_STATUS_OK | 582 | * @param element a result element, only valid if status is #GNUNET_SET_STATUS_OK |
583 | * @param current_size current set size | ||
583 | * @param status what has happened with the set intersection? | 584 | * @param status what has happened with the set intersection? |
584 | */ | 585 | */ |
585 | static void | 586 | static void |
586 | cb_intersection_element_removed (void *cls, | 587 | cb_intersection_element_removed (void *cls, |
587 | const struct GNUNET_SET_Element *element, | 588 | const struct GNUNET_SET_Element *element, |
589 | uint64_t current_size, | ||
588 | enum GNUNET_SET_Status status) | 590 | enum GNUNET_SET_Status status) |
589 | { | 591 | { |
590 | struct BobServiceSession *s = cls; | 592 | struct BobServiceSession *s = cls; |