summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-06-24 18:48:33 +0200
committerSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-06-24 18:48:33 +0200
commit5de8b1d6e35e4c802cc25f7cbca7ba1154965b13 (patch)
treeb088538e45519c7f798f8af6972c01b0ae5ce897 /src/fs
parent1981ffec4ad18287efe8ab693390e1d498de05bf (diff)
fix https://gnunet.org/bugs/view.php?id=4904
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/fs_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/fs_api.c b/src/fs/fs_api.c
index 0857110b1..9b783ba93 100644
--- a/src/fs/fs_api.c
+++ b/src/fs/fs_api.c
@@ -3112,7 +3112,7 @@ GNUNET_FS_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
ret->max_parallel_requests = DEFAULT_MAX_PARALLEL_REQUESTS;
ret->avg_block_latency = GNUNET_TIME_UNIT_MINUTES; /* conservative starting point */
va_start (ap, flags);
- while (GNUNET_FS_OPTIONS_END != (opt = va_arg (ap, enum GNUNET_FS_OPTIONS)))
+ while (GNUNET_FS_OPTIONS_END != (opt = GNUNET_VA_ARG_ENUM (ap,GNUNET_FS_OPTIONS)))
{
switch (opt)
{