aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo/peerinfo_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerinfo/peerinfo_api.c')
-rw-r--r--src/peerinfo/peerinfo_api.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c
index e477186ee..3080fb503 100644
--- a/src/peerinfo/peerinfo_api.c
+++ b/src/peerinfo/peerinfo_api.c
@@ -440,15 +440,15 @@ handle_end_iteration (void *cls,
440static void 440static void
441reconnect (struct GNUNET_PEERINFO_Handle *h) 441reconnect (struct GNUNET_PEERINFO_Handle *h)
442{ 442{
443 GNUNET_MQ_hd_var_size (info,
444 GNUNET_MESSAGE_TYPE_PEERINFO_INFO,
445 struct InfoMessage);
446 GNUNET_MQ_hd_fixed_size (end_iteration,
447 GNUNET_MESSAGE_TYPE_PEERINFO_INFO_END,
448 struct GNUNET_MessageHeader);
449 struct GNUNET_MQ_MessageHandler handlers[] = { 443 struct GNUNET_MQ_MessageHandler handlers[] = {
450 make_info_handler (h), 444 GNUNET_MQ_hd_var_size (info,
451 make_end_iteration_handler (h), 445 GNUNET_MESSAGE_TYPE_PEERINFO_INFO,
446 struct InfoMessage,
447 h),
448 GNUNET_MQ_hd_fixed_size (end_iteration,
449 GNUNET_MESSAGE_TYPE_PEERINFO_INFO_END,
450 struct GNUNET_MessageHeader,
451 h),
452 GNUNET_MQ_handler_end () 452 GNUNET_MQ_handler_end ()
453 }; 453 };
454 454