commit 3412fca0a668db520d7ef121f46686af9c9f04a1
parent 3d9afa8bfd4fd033605c0b2b3ec274f09993122d
Author: Jacki <jacki@thejackimonster.de>
Date: Wed, 7 May 2025 16:32:19 +0200
Fix build issues in ping tool due to api changes
Signed-off-by: Jacki <jacki@thejackimonster.de>
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/tools/gnunet_messenger_ping.c b/tools/gnunet_messenger_ping.c
@@ -612,6 +612,9 @@ main (int argc,
struct GNUNET_MESSENGER_PingTool tool;
memset(&tool, 0, sizeof(tool));
+ const struct GNUNET_OS_ProjectData *data;
+ data = GNUNET_OS_project_data_gnunet ();
+
struct GNUNET_GETOPT_CommandLineOption options[] = {
GNUNET_GETOPT_option_string(
'e',
@@ -673,6 +676,7 @@ main (int argc,
tool.ping_map = GNUNET_CONTAINER_multihashmap_create(8, GNUNET_NO);
enum GNUNET_GenericReturnValue result = GNUNET_PROGRAM_run(
+ data,
argc,
argv,
"gnunet_messenger_ping",