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/vpn | |
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/vpn')
-rw-r--r-- | src/vpn/vpn_api.c | 8 |
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 | |||
314 | connect_task (void *cls) | 314 | connect_task (void *cls) |
315 | { | 315 | { |
316 | struct GNUNET_VPN_Handle *vh = cls; | 316 | struct GNUNET_VPN_Handle *vh = cls; |
317 | GNUNET_MQ_hd_var_size (use_ip, | ||
318 | GNUNET_MESSAGE_TYPE_VPN_CLIENT_USE_IP, | ||
319 | struct RedirectToIpResponseMessage); | ||
320 | struct GNUNET_MQ_MessageHandler handlers[] = { | 317 | struct GNUNET_MQ_MessageHandler handlers[] = { |
321 | make_use_ip_handler (cls), | 318 | GNUNET_MQ_hd_var_size (use_ip, |
319 | GNUNET_MESSAGE_TYPE_VPN_CLIENT_USE_IP, | ||
320 | struct RedirectToIpResponseMessage, | ||
321 | cls), | ||
322 | GNUNET_MQ_handler_end () | 322 | GNUNET_MQ_handler_end () |
323 | }; | 323 | }; |
324 | struct GNUNET_VPN_RedirectionRequest *rr; | 324 | struct GNUNET_VPN_RedirectionRequest *rr; |