gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: fix misc bugs


From: gnunet
Subject: [taler-merchant] branch master updated: fix misc bugs
Date: Sun, 08 Dec 2024 22:20:00 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 4476b272 fix misc bugs
4476b272 is described below

commit 4476b272ef9147761a9b92cfe4fc69a96caa103b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Dec 8 22:19:58 2024 +0100

    fix misc bugs
---
 src/backend/taler-merchant-httpd_private-get-transfers.c | 2 +-
 src/backend/taler-merchant-httpd_private-post-orders.c   | 5 +----
 src/util/os_installation.c                               | 2 +-
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-get-transfers.c 
b/src/backend/taler-merchant-httpd_private-get-transfers.c
index 94410877..709c8485 100644
--- a/src/backend/taler-merchant-httpd_private-get-transfers.c
+++ b/src/backend/taler-merchant-httpd_private-get-transfers.c
@@ -116,7 +116,7 @@ TMH_private_get_transfers (const struct TMH_RequestHandler 
*rh,
     {
       payto_uri.full_payto
         = GNUNET_strdup (esc_payto);
-      MHD_http_unescape (payto_uri.full_payto);
+      (void) MHD_http_unescape (payto_uri.full_payto);
     }
   }
   {
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c 
b/src/backend/taler-merchant-httpd_private-post-orders.c
index a39e3202..8d3c3219 100644
--- a/src/backend/taler-merchant-httpd_private-post-orders.c
+++ b/src/backend/taler-merchant-httpd_private-post-orders.c
@@ -898,14 +898,11 @@ execute_transaction (struct OrderContext *oc)
                                oc->hc->instance->settings.id)
       );
     GNUNET_assert (NULL != jhook);
-
     wqs = TMH_trigger_webhook (oc->hc->instance->settings.id,
                                "order_created",
                                jhook);
-
     json_decref (jhook);
-
-    if (0 < wqs)
+    if (0 > wqs)
     {
       TMH_db->rollback (TMH_db->cls);
       if (GNUNET_DB_STATUS_SOFT_ERROR == wqs)
diff --git a/src/util/os_installation.c b/src/util/os_installation.c
index 267205d5..0019bdaf 100644
--- a/src/util/os_installation.c
+++ b/src/util/os_installation.c
@@ -36,7 +36,7 @@ static const struct GNUNET_OS_ProjectData merchant_pd = {
   .libname = "libtalermerchantutil",
   .project_dirname = "taler-merchant",
   .binary_name = "taler-merchant-httpd",
-  .env_varname = "TALER_PREFIX",
+  .env_varname = "TALER_MERCHANT_PREFIX",
   .base_config_varname = "TALER_BASE_CONFIG",
   .bug_email = "taler@lists.gnu.org",
   .homepage = "http://www.gnu.org/s/taler/";,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]