messenger-cli

Command-line user interface for GNUnet Messenger
Log | Files | Refs | README | LICENSE

commit ee2566bef0615c2f9937ad34c90606f6186882a8
parent 2008f1ee1bf8bdc5c286ec371a7d5ec2f9114519
Author: Jacki <jacki@thejackimonster.de>
Date:   Tue,  7 Jan 2025 05:50:59 +0100

Fix build issues from changes in gnunet 0.23.0

Signed-off-by: Jacki <jacki@thejackimonster.de>

Diffstat:
Msrc/application.c | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/application.c b/src/application.c @@ -52,9 +52,12 @@ application_init(MESSENGER_Application *app, int argc, char **argv) { + const struct GNUNET_OS_ProjectData *data = + GNUNET_OS_project_data_gnunet(); + const struct GNUNET_GETOPT_CommandLineOption options [] = { GNUNET_GETOPT_option_version(MESSENGER_CLI_VERSION), - GNUNET_GETOPT_option_help(MESSENGER_CLI_DESC), + GNUNET_GETOPT_option_help(data, MESSENGER_CLI_DESC), GNUNET_GETOPT_OPTION_END }; @@ -124,11 +127,15 @@ run (void *cls, void application_run(MESSENGER_Application *app) { + const struct GNUNET_OS_ProjectData *data = + GNUNET_OS_project_data_gnunet(); + const struct GNUNET_GETOPT_CommandLineOption options [] = { GNUNET_GETOPT_OPTION_END }; app->status = GNUNET_PROGRAM_run( + data, 1, app->argv, MESSENGER_CLI_BINARY,