[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-mdb] 37/93: fixed delay when cancelling, new bugs detected
From: |
gnunet |
Subject: |
[taler-taler-mdb] 37/93: fixed delay when cancelling, new bugs detected marked with FIXME |
Date: |
Mon, 18 Nov 2019 21:13:00 +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.
commit eacacaf002e89b1591c80e480616278c6499a678
Author: BOSS_Marco <address@hidden>
AuthorDate: Sat Nov 9 20:02:17 2019 +0100
fixed delay when cancelling, new bugs detected marked with FIXME
---
src/main.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/main.c b/src/main.c
index 51aa6b1..1f0e313 100644
--- a/src/main.c
+++ b/src/main.c
@@ -169,7 +169,7 @@ cleanup_payment (struct PaymentActivity *pa)
{
if (NULL != pa->pnd)
{
- nfc_abort_command(pa->pnd);
+ nfc_abort_command (pa->pnd);
nfc_close (pa->pnd);
}
if (NULL != pa->po)
@@ -180,7 +180,7 @@ cleanup_payment (struct PaymentActivity *pa)
GNUNET_SCHEDULER_cancel (pa->task);
if (NULL != pa->delay_task)
GNUNET_SCHEDULER_cancel (pa->delay_task); /* FIXME - double free or
corruption (!prev) - when already sent a message via nfc and then press 'c'
(abort) */
- /* FIXME - cont. also abort when nfc device gets disconnected (maybe this
is ok? because nfc is mandatory) */
+ /* FIXME - cont. also abort when nfc device gets disconnected (maybe this is
ok? because nfc is mandatory) */
GNUNET_free_non_null (pa->taler_pay_uri);
GNUNET_free_non_null (pa->order_id);
GNUNET_free (pa);
@@ -325,9 +325,9 @@ wallet_select_aid (void *cls)
"AID selection failure, return code: %x%x, trying to find
another NFC client\n",
response[0],
response[1]);
- pa->task = GNUNET_SCHEDULER_add_delayed(NFC_FAILURE_RETRY_FREQ,
- &connect_target,
- pa);
+ pa->task = GNUNET_SCHEDULER_add_delayed (NFC_FAILURE_RETRY_FREQ,
+ &connect_target,
+ pa);
}
@@ -350,7 +350,7 @@ connect_target (void *cls)
pa->nt.nti.nai.szUidLen = 0;
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Trying to find NFC client\n");
- if( 0 > nfc_initiator_poll_target ( pa->pnd,
+ if ( 0 > nfc_initiator_poll_target (pa->pnd,
nmMifare,
1,
0x01,
@@ -377,9 +377,9 @@ connect_target (void *cls)
pa);
return;
}
- pa->task = GNUNET_SCHEDULER_add_delayed ( NFC_FAILURE_RETRY_FREQ,
- &connect_target,
- pa);
+ pa->task = GNUNET_SCHEDULER_add_delayed (NFC_FAILURE_RETRY_FREQ,
+ &connect_target,
+ pa);
}
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [taler-taler-mdb] 32/93: retry NFC failures more nicely, (continued)
- [taler-taler-mdb] 32/93: retry NFC failures more nicely, gnunet, 2019/11/18
- [taler-taler-mdb] 36/93: fixed delay when cancelling, new bugs detected marked with FIXME, gnunet, 2019/11/18
- [taler-taler-mdb] 46/93: first steps in configurable products, gnunet, 2019/11/18
- [taler-taler-mdb] 28/93: misc cleanup, gnunet, 2019/11/18
- [taler-taler-mdb] 45/93: first steps in configurable products, gnunet, 2019/11/18
- [taler-taler-mdb] 40/93: fix, gnunet, 2019/11/18
- [taler-taler-mdb] 43/93: preparations for QR code alternative path, gnunet, 2019/11/18
- [taler-taler-mdb] 35/93: explicitly detect not-found code, gnunet, 2019/11/18
- [taler-taler-mdb] 39/93: use test for now, gnunet, 2019/11/18
- [taler-taler-mdb] 38/93: merged, gnunet, 2019/11/18
- [taler-taler-mdb] 37/93: fixed delay when cancelling, new bugs detected marked with FIXME,
gnunet <=
- [taler-taler-mdb] 34/93: fix, gnunet, 2019/11/18
- [taler-taler-mdb] 42/93: print URI sent to wallet for diagnostics, gnunet, 2019/11/18
- [taler-taler-mdb] 18/93: GNUnet logs added, -h option added, gnunet, 2019/11/18
- [taler-taler-mdb] 27/93: fixes, gnunet, 2019/11/18
- [taler-taler-mdb] 41/93: this was fixed, gnunet, 2019/11/18
- [taler-taler-mdb] 44/93: prepare logic for generation of QR codes, gnunet, 2019/11/18
- [taler-taler-mdb] 29/93: dce, gnunet, 2019/11/18
- [taler-taler-mdb] 48/93: comment added, gnunet, 2019/11/18
- [taler-taler-mdb] 64/93: qr gen, gnunet, 2019/11/18
- [taler-taler-mdb] 55/93: better solution, still bugs, gnunet, 2019/11/18