aboutsummaryrefslogtreecommitdiff
path: root/src/arm/arm_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arm/arm_api.c')
-rw-r--r--src/arm/arm_api.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/arm/arm_api.c b/src/arm/arm_api.c
index c8c5e8ba6..5c4a1c794 100644
--- a/src/arm/arm_api.c
+++ b/src/arm/arm_api.c
@@ -453,19 +453,19 @@ mq_error_handler (void *cls,
453static int 453static int
454reconnect_arm (struct GNUNET_ARM_Handle *h) 454reconnect_arm (struct GNUNET_ARM_Handle *h)
455{ 455{
456 GNUNET_MQ_hd_fixed_size (arm_result,
457 GNUNET_MESSAGE_TYPE_ARM_RESULT,
458 struct GNUNET_ARM_ResultMessage);
459 GNUNET_MQ_hd_var_size (arm_list_result,
460 GNUNET_MESSAGE_TYPE_ARM_LIST_RESULT,
461 struct GNUNET_ARM_ListResultMessage);
462 GNUNET_MQ_hd_fixed_size (confirm,
463 GNUNET_MESSAGE_TYPE_TEST,
464 struct GNUNET_MessageHeader);
465 struct GNUNET_MQ_MessageHandler handlers[] = { 456 struct GNUNET_MQ_MessageHandler handlers[] = {
466 make_arm_result_handler (h), 457 GNUNET_MQ_hd_fixed_size (arm_result,
467 make_arm_list_result_handler (h), 458 GNUNET_MESSAGE_TYPE_ARM_RESULT,
468 make_confirm_handler (h), 459 struct GNUNET_ARM_ResultMessage,
460 h),
461 GNUNET_MQ_hd_var_size (arm_list_result,
462 GNUNET_MESSAGE_TYPE_ARM_LIST_RESULT,
463 struct GNUNET_ARM_ListResultMessage,
464 h),
465 GNUNET_MQ_hd_fixed_size (confirm,
466 GNUNET_MESSAGE_TYPE_TEST,
467 struct GNUNET_MessageHeader,
468 h),
469 GNUNET_MQ_handler_end () 469 GNUNET_MQ_handler_end ()
470 }; 470 };
471 struct GNUNET_MessageHeader *test; 471 struct GNUNET_MessageHeader *test;