[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-mdb] branch master updated: comments added
From: |
gnunet |
Subject: |
[taler-taler-mdb] branch master updated: comments added |
Date: |
Thu, 02 Jan 2020 20:18:37 +0100 |
This is an automated email from the git hooks/post-receive script.
marco-boss pushed a commit to branch master
in repository taler-mdb.
The following commit(s) were added to refs/heads/master by this push:
new f65ff1d comments added
f65ff1d is described below
commit f65ff1dcc78817568ccec591e43f2c436abb2347
Author: Boss Marco <address@hidden>
AuthorDate: Thu Jan 2 20:18:32 2020 +0100
comments added
---
src/main.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/main.c b/src/main.c
index fb15fc7..4ddbaab 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1537,6 +1537,7 @@ launch_payment (struct Product *product)
GNUNET_free (pa);
return NULL;
}
+ /* Start to read the button on the VM to cancel this payment */
if (0 < cancelButton.cancelbuttonfd)
start_read_cancel_button ();
return pa;
@@ -1759,6 +1760,9 @@ cancel_button_pressed (void *cls)
read (cancelButton.cancelbuttonfd, &value, 1);
lseek (cancelButton.cancelbuttonfd, 0, SEEK_SET);
+ /* This point should only be reached when a order is pending, because
+ * the scheduler read file gets added in the function "launch_payment".
+ * But anyway safe check, else do nothing */
if (NULL != payment_activity)
{
if ('1' == value)
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-taler-mdb] branch master updated: comments added,
gnunet <=