aboutsummaryrefslogtreecommitdiff
path: root/src/set/gnunet-service-set_intersection.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-12 18:00:39 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-12 18:00:39 +0100
commit67f859104e0c89afc8263bb49173a5e9835d2c24 (patch)
tree94f863c0fde505ed6681e591afebe1c51501b713 /src/set/gnunet-service-set_intersection.c
parenta2ac01f46c4d57034b5d40201b29701ff95b456a (diff)
downloadgnunet-67f859104e0c89afc8263bb49173a5e9835d2c24.tar.gz
gnunet-67f859104e0c89afc8263bb49173a5e9835d2c24.zip
de-duplicate operation types
Diffstat (limited to 'src/set/gnunet-service-set_intersection.c')
-rw-r--r--src/set/gnunet-service-set_intersection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/set/gnunet-service-set_intersection.c b/src/set/gnunet-service-set_intersection.c
index bb369a81f..8307672b9 100644
--- a/src/set/gnunet-service-set_intersection.c
+++ b/src/set/gnunet-service-set_intersection.c
@@ -677,7 +677,7 @@ check_intersection_p2p_bf (void *cls,
677{ 677{
678 struct Operation *op = cls; 678 struct Operation *op = cls;
679 679
680 if (OT_INTERSECTION != op->type) 680 if (GNUNET_SET_OPERATION_INTERSECTION != op->operation)
681 { 681 {
682 GNUNET_break_op (0); 682 GNUNET_break_op (0);
683 return GNUNET_SYSERR; 683 return GNUNET_SYSERR;
@@ -869,7 +869,7 @@ handle_intersection_p2p_element_info (void *cls,
869{ 869{
870 struct Operation *op = cls; 870 struct Operation *op = cls;
871 871
872 if (OT_INTERSECTION != op->type) 872 if (GNUNET_SET_OPERATION_INTERSECTION != op->operation)
873 { 873 {
874 GNUNET_break_op (0); 874 GNUNET_break_op (0);
875 fail_intersection_operation(op); 875 fail_intersection_operation(op);
@@ -970,7 +970,7 @@ handle_intersection_p2p_done (void *cls,
970{ 970{
971 struct Operation *op = cls; 971 struct Operation *op = cls;
972 972
973 if (OT_INTERSECTION != op->type) 973 if (GNUNET_SET_OPERATION_INTERSECTION != op->operation)
974 { 974 {
975 GNUNET_break_op (0); 975 GNUNET_break_op (0);
976 fail_intersection_operation(op); 976 fail_intersection_operation(op);