gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-mdb] branch master updated: fix #6679


From: gnunet
Subject: [taler-taler-mdb] branch master updated: fix #6679
Date: Thu, 07 Jan 2021 10:46:00 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository taler-mdb.

The following commit(s) were added to refs/heads/master by this push:
     new 159485f  fix #6679
159485f is described below

commit 159485fd8ca4d1a5fe8e9a9d9850f9857eace294
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Jan 7 10:45:57 2021 +0100

    fix #6679
---
 src/main.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/main.c b/src/main.c
index bf9a7eb..51b49f5 100644
--- 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;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]