summaryrefslogtreecommitdiff
path: root/src/vpn
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/vpn
parent94a717fab18ed25e6bec4b349526212045f6ca70 (diff)
Use statement exprs instead of local function
This change lets us compile with clang again.
Diffstat (limited to 'src/vpn')
-rw-r--r--src/vpn/vpn_api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vpn/vpn_api.c b/src/vpn/vpn_api.c
index ad0b5e9f0..b22b805cd 100644
--- a/src/vpn/vpn_api.c
+++ b/src/vpn/vpn_api.c
@@ -314,11 +314,11 @@ static void
connect_task (void *cls)
{
struct GNUNET_VPN_Handle *vh = cls;
- GNUNET_MQ_hd_var_size (use_ip,
- GNUNET_MESSAGE_TYPE_VPN_CLIENT_USE_IP,
- struct RedirectToIpResponseMessage);
struct GNUNET_MQ_MessageHandler handlers[] = {
- make_use_ip_handler (cls),
+ GNUNET_MQ_hd_var_size (use_ip,
+ GNUNET_MESSAGE_TYPE_VPN_CLIENT_USE_IP,
+ struct RedirectToIpResponseMessage,
+ cls),
GNUNET_MQ_handler_end ()
};
struct GNUNET_VPN_RedirectionRequest *rr;