diff options
Diffstat (limited to 'src/cadet/test_cadeT_util.c')
-rw-r--r-- | src/cadet/test_cadeT_util.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cadet/test_cadeT_util.c b/src/cadet/test_cadeT_util.c index bf65aca32..7f28678b9 100644 --- a/src/cadet/test_cadeT_util.c +++ b/src/cadet/test_cadeT_util.c | |||
@@ -102,6 +102,13 @@ setup_initiating_peer (void *cls, | |||
102 | { | 102 | { |
103 | struct GNUNET_CADET_Handle *cadet; | 103 | struct GNUNET_CADET_Handle *cadet; |
104 | struct GNUNET_CADET_Channel *channel; | 104 | struct GNUNET_CADET_Channel *channel; |
105 | struct GNUNET_MQ_MessageHandler msg_handlers[] = { | ||
106 | GNUNET_MQ_hd_fixed_size (message, | ||
107 | GNUNET_MESSAGE_TYPE_DUMMY, | ||
108 | struct GNUNET_MessageHeader, | ||
109 | NULL), | ||
110 | GNUNET_MQ_handler_end () | ||
111 | }; | ||
105 | 112 | ||
106 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "%s\n", __func__); | 113 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "%s\n", __func__); |
107 | 114 | ||
@@ -117,7 +124,7 @@ setup_initiating_peer (void *cls, | |||
117 | &hashed_portname, | 124 | &hashed_portname, |
118 | NULL, | 125 | NULL, |
119 | &disconnect_channel, | 126 | &disconnect_channel, |
120 | NULL); | 127 | msg_handlers); |
121 | test_peers[0].channel = channel; | 128 | test_peers[0].channel = channel; |
122 | 129 | ||
123 | return cadet; | 130 | return cadet; |