diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-24 21:17:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-24 21:17:50 +0000 |
commit | bdd2a2f82789160f7cd1d5f6d25bdcd75a90937e (patch) | |
tree | 7c1605244708119cc66165b2e8159483ad236235 /src/set/test_set_intersection_result_full.c | |
parent | e35797e3ca7ce8636289907ca4aa4e1a7c4cfd1f (diff) | |
download | gnunet-bdd2a2f82789160f7cd1d5f6d25bdcd75a90937e.tar.gz gnunet-bdd2a2f82789160f7cd1d5f6d25bdcd75a90937e.zip |
use the correct type for dummy messages
Diffstat (limited to 'src/set/test_set_intersection_result_full.c')
-rw-r--r-- | src/set/test_set_intersection_result_full.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/set/test_set_intersection_result_full.c b/src/set/test_set_intersection_result_full.c index 9c2f64bc1..f78a03eaf 100644 --- a/src/set/test_set_intersection_result_full.c +++ b/src/set/test_set_intersection_result_full.c | |||
@@ -116,7 +116,7 @@ listen_cb (void *cls, | |||
116 | struct GNUNET_SET_Request *request) | 116 | struct GNUNET_SET_Request *request) |
117 | { | 117 | { |
118 | GNUNET_assert (NULL != context_msg); | 118 | GNUNET_assert (NULL != context_msg); |
119 | GNUNET_assert (ntohs (context_msg->type) == GNUNET_MESSAGE_TYPE_TEST); | 119 | GNUNET_assert (ntohs (context_msg->type) == GNUNET_MESSAGE_TYPE_DUMMY); |
120 | GNUNET_SET_listen_cancel (listen_handle); | 120 | GNUNET_SET_listen_cancel (listen_handle); |
121 | listen_handle = NULL; | 121 | listen_handle = NULL; |
122 | oh2 = GNUNET_SET_accept (request, | 122 | oh2 = GNUNET_SET_accept (request, |
@@ -139,7 +139,7 @@ start (void *cls) | |||
139 | struct GNUNET_MessageHeader context_msg; | 139 | struct GNUNET_MessageHeader context_msg; |
140 | 140 | ||
141 | context_msg.size = htons (sizeof context_msg); | 141 | context_msg.size = htons (sizeof context_msg); |
142 | context_msg.type = htons (GNUNET_MESSAGE_TYPE_TEST); | 142 | context_msg.type = htons (GNUNET_MESSAGE_TYPE_DUMMY); |
143 | listen_handle = GNUNET_SET_listen (config, | 143 | listen_handle = GNUNET_SET_listen (config, |
144 | GNUNET_SET_OPERATION_INTERSECTION, | 144 | GNUNET_SET_OPERATION_INTERSECTION, |
145 | &app_id, | 145 | &app_id, |