gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] branch master updated: do not crash


From: gnunet
Subject: [taler-taler-mdb] branch master updated: do not crash
Date: Tue, 10 Dec 2019 09:39:45 +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 1467d4c  do not crash
1467d4c is described below

commit 1467d4c6b54b7e6a6243da67275c79247e6b5beb
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Dec 10 09:39:39 2019 +0100

    do not crash
---
 src/main.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 0d7c35a..d09674d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1381,7 +1381,11 @@ vend_failure ()
 {
   struct Refund *r;
 
-  GNUNET_break (NULL != payment_activity);
+  if (NULL == payment_activity)
+  {
+    GNUNET_break (0);
+    return;
+  }
   GNUNET_log (GNUNET_ERROR_TYPE_INFO,
               "Received MDB vend failure, refunding customer (FIXME: not 
implemented)\n");
   mdb.cmd = &endSession;

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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