summaryrefslogtreecommitdiff
path: root/src/scalarproduct/gnunet-service-scalarproduct_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_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_alice.c')
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct_alice.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct_alice.c b/src/scalarproduct/gnunet-service-scalarproduct_alice.c
index 697baa9bd..6d7a0a3b8 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct_alice.c
+++ b/src/scalarproduct/gnunet-service-scalarproduct_alice.c
@@ -924,11 +924,13 @@ send_alices_cryptodata_message (struct AliceServiceSession *s)
924 * 924 *
925 * @param cls closure with the `struct AliceServiceSession` 925 * @param cls closure with the `struct AliceServiceSession`
926 * @param element a result element, only valid if status is #GNUNET_SET_STATUS_OK 926 * @param element a result element, only valid if status is #GNUNET_SET_STATUS_OK
927 * @param current_size current set size
927 * @param status what has happened with the set intersection? 928 * @param status what has happened with the set intersection?
928 */ 929 */
929static void 930static void
930cb_intersection_element_removed (void *cls, 931cb_intersection_element_removed (void *cls,
931 const struct GNUNET_SET_Element *element, 932 const struct GNUNET_SET_Element *element,
933 uint64_t current_size,
932 enum GNUNET_SET_Status status) 934 enum GNUNET_SET_Status status)
933{ 935{
934 struct AliceServiceSession *s = cls; 936 struct AliceServiceSession *s = cls;