From 7f937e3781f36538d9864fa841822eecdaf0bf27 Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Thu, 18 Aug 2016 00:03:29 +0000 Subject: Use statement exprs instead of local function This change lets us compile with clang again. --- src/vpn/vpn_api.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/vpn') 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; -- cgit v1.2.3