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_api.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_api.c')
-rw-r--r-- | src/set/test_set_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/set/test_set_api.c b/src/set/test_set_api.c index eea47f57d..21af45f8a 100644 --- a/src/set/test_set_api.c +++ b/src/set/test_set_api.c | |||
@@ -142,7 +142,7 @@ listen_cb (void *cls, | |||
142 | struct GNUNET_SET_Request *request) | 142 | struct GNUNET_SET_Request *request) |
143 | { | 143 | { |
144 | GNUNET_assert (NULL != context_msg); | 144 | GNUNET_assert (NULL != context_msg); |
145 | GNUNET_assert (ntohs (context_msg->type) == GNUNET_MESSAGE_TYPE_TEST); | 145 | GNUNET_assert (ntohs (context_msg->type) == GNUNET_MESSAGE_TYPE_DUMMY); |
146 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 146 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
147 | "listen cb called\n"); | 147 | "listen cb called\n"); |
148 | GNUNET_SET_listen_cancel (listen_handle); | 148 | GNUNET_SET_listen_cancel (listen_handle); |
@@ -169,7 +169,7 @@ start (void *cls) | |||
169 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 169 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
170 | "Starting reconciliation\n"); | 170 | "Starting reconciliation\n"); |
171 | context_msg.size = htons (sizeof context_msg); | 171 | context_msg.size = htons (sizeof context_msg); |
172 | context_msg.type = htons (GNUNET_MESSAGE_TYPE_TEST); | 172 | context_msg.type = htons (GNUNET_MESSAGE_TYPE_DUMMY); |
173 | listen_handle = GNUNET_SET_listen (config, | 173 | listen_handle = GNUNET_SET_listen (config, |
174 | GNUNET_SET_OPERATION_UNION, | 174 | GNUNET_SET_OPERATION_UNION, |
175 | &app_id, | 175 | &app_id, |