taler-mdb

GNU Taler Extensions and Integrations
Log | Files | Refs | Submodules | README | LICENSE

commit 159485fd8ca4d1a5fe8e9a9d9850f9857eace294
parent 43bb00b2b0047d46c4345e217ac18449357631c5
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  7 Jan 2021 10:45:57 +0100

fix #6679

Diffstat:
Msrc/main.c | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c @@ -3322,6 +3322,10 @@ main (int argc, READER_DISPLAY_REQUEST, READER_DISPLAY_REQUEST_TIME READER_DISPLAY_BACKEND_NOT_REACHABLE); + if (GNUNET_OK != + GNUNET_STRINGS_get_utf8_args (argc, argv, + &argc, &argv)) + return 4; ret = GNUNET_PROGRAM_run (argc, argv, "taler-mdb", @@ -3329,6 +3333,7 @@ main (int argc, options, &run, NULL); + GNUNET_free_nz ((void *) argv); if (! disable_tty) { if (have_tty) @@ -3341,6 +3346,8 @@ main (int argc, "Failed to restore terminal discipline\n"); } } + if (GNUNET_NO == ret) + return 0; if (GNUNET_OK != ret) return 1; return global_ret;