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_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_bob.c')
-rw-r--r-- | src/scalarproduct/gnunet-service-scalarproduct_bob.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct_bob.c b/src/scalarproduct/gnunet-service-scalarproduct_bob.c index 5d2df017b..f3b5327f1 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct_bob.c +++ b/src/scalarproduct/gnunet-service-scalarproduct_bob.c | |||
@@ -879,11 +879,13 @@ handle_alices_cryptodata_message (void *cls, | |||
879 | * | 879 | * |
880 | * @param cls closure with the `struct BobServiceSession` | 880 | * @param cls closure with the `struct BobServiceSession` |
881 | * @param element a result element, only valid if status is #GNUNET_SET_STATUS_OK | 881 | * @param element a result element, only valid if status is #GNUNET_SET_STATUS_OK |
882 | * @param current_size current set size | ||
882 | * @param status what has happened with the set intersection? | 883 | * @param status what has happened with the set intersection? |
883 | */ | 884 | */ |
884 | static void | 885 | static void |
885 | cb_intersection_element_removed (void *cls, | 886 | cb_intersection_element_removed (void *cls, |
886 | const struct GNUNET_SET_Element *element, | 887 | const struct GNUNET_SET_Element *element, |
888 | uint64_t current_size, | ||
887 | enum GNUNET_SET_Status status) | 889 | enum GNUNET_SET_Status status) |
888 | { | 890 | { |
889 | struct BobServiceSession *s = cls; | 891 | struct BobServiceSession *s = cls; |