diff options
Diffstat (limited to 'src/fs/fs_list_indexed.c')
-rw-r--r-- | src/fs/fs_list_indexed.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/fs/fs_list_indexed.c b/src/fs/fs_list_indexed.c index 21385d40b..67183fce2 100644 --- a/src/fs/fs_list_indexed.c +++ b/src/fs/fs_list_indexed.c | |||
@@ -169,17 +169,17 @@ GNUNET_FS_get_indexed_files (struct GNUNET_FS_Handle *h, | |||
169 | GNUNET_FS_IndexedFileProcessor iterator, | 169 | GNUNET_FS_IndexedFileProcessor iterator, |
170 | void *iterator_cls) | 170 | void *iterator_cls) |
171 | { | 171 | { |
172 | GNUNET_MQ_hd_fixed_size (index_info_end, | ||
173 | GNUNET_MESSAGE_TYPE_FS_INDEX_LIST_END, | ||
174 | struct GNUNET_MessageHeader); | ||
175 | GNUNET_MQ_hd_var_size (index_info, | ||
176 | GNUNET_MESSAGE_TYPE_FS_INDEX_LIST_ENTRY, | ||
177 | struct IndexInfoMessage); | ||
178 | struct GNUNET_FS_GetIndexedContext *gic | 172 | struct GNUNET_FS_GetIndexedContext *gic |
179 | = GNUNET_new (struct GNUNET_FS_GetIndexedContext); | 173 | = GNUNET_new (struct GNUNET_FS_GetIndexedContext); |
180 | struct GNUNET_MQ_MessageHandler handlers[] = { | 174 | struct GNUNET_MQ_MessageHandler handlers[] = { |
181 | make_index_info_end_handler (gic), | 175 | GNUNET_MQ_hd_fixed_size (index_info_end, |
182 | make_index_info_handler (gic), | 176 | GNUNET_MESSAGE_TYPE_FS_INDEX_LIST_END, |
177 | struct GNUNET_MessageHeader, | ||
178 | gic), | ||
179 | GNUNET_MQ_hd_var_size (index_info, | ||
180 | GNUNET_MESSAGE_TYPE_FS_INDEX_LIST_ENTRY, | ||
181 | struct IndexInfoMessage, | ||
182 | gic), | ||
183 | GNUNET_MQ_handler_end () | 183 | GNUNET_MQ_handler_end () |
184 | }; | 184 | }; |
185 | struct GNUNET_MQ_Envelope *env; | 185 | struct GNUNET_MQ_Envelope *env; |