gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] branch master updated: assertion not ok


From: gnunet
Subject: [taler-taler-mdb] branch master updated: assertion not ok
Date: Fri, 20 May 2022 17:32:26 +0200

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 bd2ccff  assertion not ok
bd2ccff is described below

commit bd2ccff9c4361b5bff9b9127c31ab318ab24abb9
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Fri May 20 17:32:23 2022 +0200

    assertion not ok
---
 src/main.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/main.c b/src/main.c
index 800d21f..3f809dd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2075,7 +2075,7 @@ cancel_button_pressed (void *cls)
  * @brief Wait for a keyboard input
  */
 static void
-start_read_keyboard ()
+start_read_keyboard (void)
 {
   static struct GNUNET_DISK_FileHandle fh = { STDIN_FILENO };
 
@@ -2114,13 +2114,14 @@ start_read_keyboard ()
  * @brief Wait for cancel button during payment activity
  */
 static void
-start_read_cancel_button ()
+start_read_cancel_button (void)
 {
   struct GNUNET_DISK_FileHandle fh = {
     cancel_button.cancelbuttonfd
   };
 
-  GNUNET_assert (NULL == cancelbutton_task);
+  if (NULL != cancelbutton_task)
+    return;
   cancelbutton_task = GNUNET_SCHEDULER_add_read_file (
     GNUNET_TIME_UNIT_FOREVER_REL,
     &fh,

-- 
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]