aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_reliability.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/test_core_api_reliability.c')
-rw-r--r--src/core/test_core_api_reliability.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c
index d7d4a6bd6..4d8d54028 100644
--- a/src/core/test_core_api_reliability.c
+++ b/src/core/test_core_api_reliability.c
@@ -322,12 +322,12 @@ static void
322init_notify (void *cls, 322init_notify (void *cls,
323 const struct GNUNET_PeerIdentity *my_identity) 323 const struct GNUNET_PeerIdentity *my_identity)
324{ 324{
325 GNUNET_MQ_hd_var_size (test,
326 MTYPE,
327 struct TestMessage);
328 struct PeerContext *p = cls; 325 struct PeerContext *p = cls;
329 struct GNUNET_MQ_MessageHandler handlers[] = { 326 struct GNUNET_MQ_MessageHandler handlers[] = {
330 make_test_handler (NULL), 327 GNUNET_MQ_hd_var_size (test,
328 MTYPE,
329 struct TestMessage,
330 NULL);
331 GNUNET_MQ_handler_end () 331 GNUNET_MQ_handler_end ()
332 }; 332 };
333 333
@@ -442,11 +442,11 @@ run (void *cls,
442 const char *cfgfile, 442 const char *cfgfile,
443 const struct GNUNET_CONFIGURATION_Handle *cfg) 443 const struct GNUNET_CONFIGURATION_Handle *cfg)
444{ 444{
445 GNUNET_MQ_hd_fixed_size (test,
446 MTYPE,
447 struct TestMessage);
448 struct GNUNET_MQ_MessageHandler handlers[] = { 445 struct GNUNET_MQ_MessageHandler handlers[] = {
449 make_test_handler (NULL), 446 GNUNET_MQ_hd_fixed_size (test,
447 MTYPE,
448 struct TestMessage,
449 NULL);
450 GNUNET_MQ_handler_end () 450 GNUNET_MQ_handler_end ()
451 }; 451 };
452 452