aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-10-28 11:50:03 +0100
committerChristian Grothoff <christian@grothoff.org>2024-10-28 11:50:03 +0100
commit4074c04593448358834078abb735fb57360fead6 (patch)
tree77181ccf80f0c1d7f4a8115c5c5c77ca03fdd2a1
parent2c669a0f8a7947952a8322d202a14e1f010e0a9a (diff)
-fix FTBFS
-rw-r--r--src/json/test_conversion.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/json/test_conversion.c b/src/json/test_conversion.c
index e28e8be66..e148927f5 100644
--- a/src/json/test_conversion.c
+++ b/src/json/test_conversion.c
@@ -112,6 +112,11 @@ static void
run (void *cls)
{
json_t *input;
+ const char *argv[] = {
+ "test_conversion.sh",
+ "arg",
+ NULL
+ };
(void) cls;
GNUNET_SCHEDULER_add_shutdown (&do_shutdown,
@@ -125,9 +130,7 @@ run (void *cls)
&conv_cb,
NULL,
"./test_conversion.sh",
- "test_conversion.sh",
- "arg",
- NULL);
+ argv);
json_decref (input);
GNUNET_assert (NULL != ec);
}