diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2016-08-18 00:03:29 +0000 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2016-08-18 00:03:29 +0000 |
commit | 7f937e3781f36538d9864fa841822eecdaf0bf27 (patch) | |
tree | 318eb592dae2bbf59d094f5df140c24a4b6184c9 /src/fs/fs_unindex.c | |
parent | 94a717fab18ed25e6bec4b349526212045f6ca70 (diff) | |
download | gnunet-7f937e3781f36538d9864fa841822eecdaf0bf27.tar.gz gnunet-7f937e3781f36538d9864fa841822eecdaf0bf27.zip |
Use statement exprs instead of local function
This change lets us compile with clang again.
Diffstat (limited to 'src/fs/fs_unindex.c')
-rw-r--r-- | src/fs/fs_unindex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/fs_unindex.c b/src/fs/fs_unindex.c index f43725a59..2a024ecbb 100644 --- a/src/fs/fs_unindex.c +++ b/src/fs/fs_unindex.c | |||
@@ -288,11 +288,11 @@ unindex_mq_error_handler (void *cls, | |||
288 | static void | 288 | static void |
289 | unindex_finish (struct GNUNET_FS_UnindexContext *uc) | 289 | unindex_finish (struct GNUNET_FS_UnindexContext *uc) |
290 | { | 290 | { |
291 | GNUNET_MQ_hd_fixed_size (unindex_response, | ||
292 | GNUNET_MESSAGE_TYPE_FS_UNINDEX_OK, | ||
293 | struct GNUNET_MessageHeader); | ||
294 | struct GNUNET_MQ_MessageHandler handlers[] = { | 291 | struct GNUNET_MQ_MessageHandler handlers[] = { |
295 | make_unindex_response_handler (uc), | 292 | GNUNET_MQ_hd_fixed_size (unindex_response, |
293 | GNUNET_MESSAGE_TYPE_FS_UNINDEX_OK, | ||
294 | struct GNUNET_MessageHeader, | ||
295 | uc), | ||
296 | GNUNET_MQ_handler_end () | 296 | GNUNET_MQ_handler_end () |
297 | }; | 297 | }; |
298 | char *emsg; | 298 | char *emsg; |