diff options
Diffstat (limited to 'src/transport/transport_api_hello_get.c')
-rw-r--r-- | src/transport/transport_api_hello_get.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/transport_api_hello_get.c b/src/transport/transport_api_hello_get.c index ec7b544d6..9c3a3e786 100644 --- a/src/transport/transport_api_hello_get.c +++ b/src/transport/transport_api_hello_get.c | |||
@@ -167,12 +167,12 @@ mq_error_handler (void *cls, | |||
167 | static void | 167 | static void |
168 | reconnect (void *cls) | 168 | reconnect (void *cls) |
169 | { | 169 | { |
170 | GNUNET_MQ_hd_var_size (hello, | ||
171 | GNUNET_MESSAGE_TYPE_HELLO, | ||
172 | struct GNUNET_MessageHeader); | ||
173 | struct GNUNET_TRANSPORT_HelloGetHandle *ghh = cls; | 170 | struct GNUNET_TRANSPORT_HelloGetHandle *ghh = cls; |
174 | struct GNUNET_MQ_MessageHandler handlers[] = { | 171 | struct GNUNET_MQ_MessageHandler handlers[] = { |
175 | make_hello_handler (ghh), | 172 | GNUNET_MQ_hd_var_size (hello, |
173 | GNUNET_MESSAGE_TYPE_HELLO, | ||
174 | struct GNUNET_MessageHeader, | ||
175 | ghh), | ||
176 | GNUNET_MQ_handler_end () | 176 | GNUNET_MQ_handler_end () |
177 | }; | 177 | }; |
178 | struct GNUNET_MQ_Envelope *env; | 178 | struct GNUNET_MQ_Envelope *env; |