aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.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/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
parent3112e64ef06f71b06e9f047f2c6dd1be0941a565 (diff)
downloadgnunet-6da407ad72fdca282094ccdb5558ece9638e3bd3.tar.gz
gnunet-6da407ad72fdca282094ccdb5558ece9638e3bd3.zip
include set size in result callback, needed by consensus
Diffstat (limited to 'src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c')
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
index b7b839b6f..ca92fb9ea 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
+++ b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
@@ -687,11 +687,13 @@ send_alices_cryptodata_message (struct AliceServiceSession *s)
687 * 687 *
688 * @param cls closure with the `struct AliceServiceSession` 688 * @param cls closure with the `struct AliceServiceSession`
689 * @param element a result element, only valid if status is #GNUNET_SET_STATUS_OK 689 * @param element a result element, only valid if status is #GNUNET_SET_STATUS_OK
690 * @param current_size current set size
690 * @param status what has happened with the set intersection? 691 * @param status what has happened with the set intersection?
691 */ 692 */
692static void 693static void
693cb_intersection_element_removed (void *cls, 694cb_intersection_element_removed (void *cls,
694 const struct GNUNET_SET_Element *element, 695 const struct GNUNET_SET_Element *element,
696 uint64_t current_size,
695 enum GNUNET_SET_Status status) 697 enum GNUNET_SET_Status status)
696{ 698{
697 struct AliceServiceSession *s = cls; 699 struct AliceServiceSession *s = cls;