[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: fix: looking for wire method
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: fix: looking for wire method |
Date: |
Wed, 05 May 2021 15:29:49 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new bed03c0c fix: looking for wire method
bed03c0c is described below
commit bed03c0ccfeb17cad9f5f8eb7778f09290ddcc63
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Wed May 5 10:03:36 2021 -0300
fix: looking for wire method
---
src/backend/taler-merchant-httpd_private-post-orders.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c
b/src/backend/taler-merchant-httpd_private-post-orders.c
index 2d1441a6..38722a47 100644
--- a/src/backend/taler-merchant-httpd_private-post-orders.c
+++ b/src/backend/taler-merchant-httpd_private-post-orders.c
@@ -1023,13 +1023,12 @@ add_payment_details (struct MHD_Connection *connection,
struct TMH_WireMethod *wm;
wm = hc->instance->wm_head;
- if (NULL != payment_target)
- {
- while ( (NULL != wm) &&
- (wm->active) &&
- (0 != strcasecmp (payment_target,
- wm->wire_method) ) )
- wm = wm->next;
+ while ( (NULL != wm) &&
+ (GNUNET_YES != wm->active) &&
+ (NULL == payment_target ||
+ 0 != strcasecmp (payment_target,
+ wm->wire_method) ) ) {
+ wm = wm->next;
}
if ((NULL != wm) &&
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: fix: looking for wire method,
gnunet <=