diff options
Diffstat (limited to 'src/gns/gns_api.c')
-rw-r--r-- | src/gns/gns_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gns/gns_api.c b/src/gns/gns_api.c index c45f5bc3d..475d5b5cd 100644 --- a/src/gns/gns_api.c +++ b/src/gns/gns_api.c | |||
@@ -264,11 +264,11 @@ handle_result (void *cls, | |||
264 | static void | 264 | static void |
265 | reconnect (struct GNUNET_GNS_Handle *handle) | 265 | reconnect (struct GNUNET_GNS_Handle *handle) |
266 | { | 266 | { |
267 | GNUNET_MQ_hd_var_size (result, | ||
268 | GNUNET_MESSAGE_TYPE_GNS_LOOKUP_RESULT, | ||
269 | struct GNUNET_GNS_ClientLookupResultMessage); | ||
270 | struct GNUNET_MQ_MessageHandler handlers[] = { | 267 | struct GNUNET_MQ_MessageHandler handlers[] = { |
271 | make_result_handler (handle), | 268 | GNUNET_MQ_hd_var_size (result, |
269 | GNUNET_MESSAGE_TYPE_GNS_LOOKUP_RESULT, | ||
270 | struct GNUNET_GNS_ClientLookupResultMessage, | ||
271 | handle), | ||
272 | GNUNET_MQ_handler_end () | 272 | GNUNET_MQ_handler_end () |
273 | }; | 273 | }; |
274 | struct GNUNET_GNS_LookupRequest *lh; | 274 | struct GNUNET_GNS_LookupRequest *lh; |