diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-02-23 15:15:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-02-23 17:47:38 +0100 |
commit | d5af1252b2a83d75fe4a8f6e48e1d01ab027b553 (patch) | |
tree | 3138f19a619c8b1730aafd6b31f041e64a4f2622 /src/dv | |
parent | 0581ec4f88a81894a17ef4619a8ac2a0c3c7d061 (diff) | |
download | gnunet-d5af1252b2a83d75fe4a8f6e48e1d01ab027b553.tar.gz gnunet-d5af1252b2a83d75fe4a8f6e48e1d01ab027b553.zip |
add set operation options
Diffstat (limited to 'src/dv')
-rw-r--r-- | src/dv/gnunet-service-dv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dv/gnunet-service-dv.c b/src/dv/gnunet-service-dv.c index 6adaa04d9..e4b664f4b 100644 --- a/src/dv/gnunet-service-dv.c +++ b/src/dv/gnunet-service-dv.c | |||
@@ -1528,6 +1528,7 @@ listen_set_union (void *cls, | |||
1528 | GNUNET_SET_OPERATION_UNION); | 1528 | GNUNET_SET_OPERATION_UNION); |
1529 | neighbor->set_op = GNUNET_SET_accept (request, | 1529 | neighbor->set_op = GNUNET_SET_accept (request, |
1530 | GNUNET_SET_RESULT_ADDED, | 1530 | GNUNET_SET_RESULT_ADDED, |
1531 | (struct GNUNET_SET_Option[]) { 0 }, | ||
1531 | &handle_set_union_result, | 1532 | &handle_set_union_result, |
1532 | neighbor); | 1533 | neighbor); |
1533 | neighbor->consensus_insertion_offset = 0; | 1534 | neighbor->consensus_insertion_offset = 0; |
@@ -1558,6 +1559,7 @@ initiate_set_union (void *cls) | |||
1558 | &neighbor->real_session_id, | 1559 | &neighbor->real_session_id, |
1559 | NULL, | 1560 | NULL, |
1560 | GNUNET_SET_RESULT_ADDED, | 1561 | GNUNET_SET_RESULT_ADDED, |
1562 | (struct GNUNET_SET_Option[]) { 0 }, | ||
1561 | &handle_set_union_result, | 1563 | &handle_set_union_result, |
1562 | neighbor); | 1564 | neighbor); |
1563 | neighbor->consensus_insertion_offset = 0; | 1565 | neighbor->consensus_insertion_offset = 0; |