summaryrefslogtreecommitdiff
path: root/src/transport/transport_api_blacklist.c
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2016-08-18 00:03:29 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2016-08-18 00:03:29 +0000
commit7f937e3781f36538d9864fa841822eecdaf0bf27 (patch)
tree318eb592dae2bbf59d094f5df140c24a4b6184c9 /src/transport/transport_api_blacklist.c
parent94a717fab18ed25e6bec4b349526212045f6ca70 (diff)
Use statement exprs instead of local function
This change lets us compile with clang again.
Diffstat (limited to 'src/transport/transport_api_blacklist.c')
-rw-r--r--src/transport/transport_api_blacklist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/transport_api_blacklist.c b/src/transport/transport_api_blacklist.c
index 2835e225f..4b758f9dc 100644
--- a/src/transport/transport_api_blacklist.c
+++ b/src/transport/transport_api_blacklist.c
@@ -120,11 +120,11 @@ mq_error_handler (void *cls,
static void
reconnect (struct GNUNET_TRANSPORT_Blacklist *br)
{
- GNUNET_MQ_hd_fixed_size (query,
- GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_QUERY,
- struct BlacklistMessage);
struct GNUNET_MQ_MessageHandler handlers[] = {
- make_query_handler (br),
+ GNUNET_MQ_hd_fixed_size (query,
+ GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_QUERY,
+ struct BlacklistMessage,
+ br),
GNUNET_MQ_handler_end ()
};
struct GNUNET_MQ_Envelope *env;