[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 02/02: correct fix for #6498 (hopefully)
From: |
gnunet |
Subject: |
[taler-merchant] 02/02: correct fix for #6498 (hopefully) |
Date: |
Sat, 22 Aug 2020 19:29:18 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
commit 1ac2e6242fdb9ae876149e142c5d0142616aacc4
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Aug 22 19:29:03 2020 +0200
correct fix for #6498 (hopefully)
---
src/backend/taler-merchant-httpd_get-orders-ID.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_get-orders-ID.c
b/src/backend/taler-merchant-httpd_get-orders-ID.c
index 2af92e8..794dbc5 100644
--- a/src/backend/taler-merchant-httpd_get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_get-orders-ID.c
@@ -883,8 +883,9 @@ TMH_get_orders_ID (const struct TMH_RequestHandler *rh,
TALER_EC_GET_ORDERS_ID_UNKNOWN,
"order_id not found in database");
}
- token_match = (0 == GNUNET_memcmp (&db_claim_token,
- &god->claim_token));
+ if (god->unclaimed)
+ token_match = (0 == GNUNET_memcmp (&db_claim_token,
+ &god->claim_token));
} /* end unclaimed order logic */
if (NULL == god->fulfillment_url)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.