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