[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 02/02: remove wrong assert X-Forwarded-Prefix is found.
From: |
gnunet |
Subject: |
[taler-merchant] 02/02: remove wrong assert X-Forwarded-Prefix is found. Patch by MS |
Date: |
Sat, 20 Nov 2021 20:09:23 +0100 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository merchant.
commit 06765a1eff683e17184a1444bcb1323a09d229fd
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Sat Nov 20 16:09:06 2021 -0300
remove wrong assert X-Forwarded-Prefix is found. Patch by MS
---
src/backend/taler-merchant-httpd_private-post-orders.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c
b/src/backend/taler-merchant-httpd_private-post-orders.c
index 17131d3b..41b211eb 100644
--- a/src/backend/taler-merchant-httpd_private-post-orders.c
+++ b/src/backend/taler-merchant-httpd_private-post-orders.c
@@ -144,11 +144,8 @@ make_merchant_base_url (struct MHD_Connection *connection,
MHD_HEADER_KIND,
"X-Forwarded-Prefix");
if (NULL != uri_path)
- {
- /* Currently the merchant backend is only supported at the root of the
path,
- this might change in the future. */
- GNUNET_assert (0);
- }
+ GNUNET_buffer_write_path (&buf, uri_path);
+
if (0 != strcmp (instance_id,
"default"))
{
@@ -228,7 +225,7 @@ execute_transaction (struct TMH_HandlerContext *hc,
h_post_data,
pay_deadline,
claim_token,
- order);
+ order); // called 'contract terms' at database.
if (qs <= 0)
{
/* qs == 0: probably instance does not exist (anymore) */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.