commit 30c9acd2dff0f33812dea1e3b1d0af87a723d658
parent 95eefcbe7cff58fc22ca9d8f83c2af52597deee7
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Thu, 16 Jul 2026 01:59:26 +0200
-fixes
Diffstat:
4 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/src/backend/taler-merchant-donaukeyupdate.c b/src/backend/taler-merchant-donaukeyupdate.c
@@ -1104,14 +1104,6 @@ run (void *cls,
NULL);
ctx = GNUNET_CURL_init (&GNUNET_CURL_gnunet_scheduler_reschedule,
&rc);
- rc = GNUNET_CURL_gnunet_rc_create (ctx);
- if (NULL == ctx)
- {
- GNUNET_break (0);
- GNUNET_SCHEDULER_shutdown ();
- global_ret = EXIT_FAILURE;
- return;
- }
if (NULL == ctx)
{
GNUNET_break (0);
@@ -1119,6 +1111,7 @@ run (void *cls,
global_ret = EXIT_FAILURE;
return;
}
+ rc = GNUNET_CURL_gnunet_rc_create (ctx);
if (NULL ==
(pg = TALER_MERCHANTDB_connect (cfg)) )
{
diff --git a/src/backend/taler-merchant-kyccheck.c b/src/backend/taler-merchant-kyccheck.c
@@ -2121,7 +2121,6 @@ run (void *cls,
NULL);
ctx = GNUNET_CURL_init (&GNUNET_CURL_gnunet_scheduler_reschedule,
&rc);
- rc = GNUNET_CURL_gnunet_rc_create (ctx);
if (NULL == ctx)
{
GNUNET_break (0);
@@ -2129,6 +2128,7 @@ run (void *cls,
global_ret = EXIT_FAILURE;
return;
}
+ rc = GNUNET_CURL_gnunet_rc_create (ctx);
if (NULL ==
(pg = TALER_MERCHANTDB_connect (cfg)))
{
diff --git a/src/backend/taler-merchant-webhook.c b/src/backend/taler-merchant-webhook.c
@@ -551,7 +551,6 @@ run (void *cls,
NULL);
ctx = GNUNET_CURL_init (&GNUNET_CURL_gnunet_scheduler_reschedule,
&rc);
- rc = GNUNET_CURL_gnunet_rc_create (ctx);
if (NULL == ctx)
{
GNUNET_break (0);
@@ -559,6 +558,7 @@ run (void *cls,
global_ret = EXIT_FAILURE;
return;
}
+ rc = GNUNET_CURL_gnunet_rc_create (ctx);
if (NULL ==
(pg = TALER_MERCHANTDB_connect (cfg)))
{
diff --git a/src/backenddb/lookup_products.c b/src/backenddb/lookup_products.c
@@ -148,7 +148,7 @@ TALER_MERCHANTDB_lookup_products (
" AND ( (0 = $6::INT8) OR"
" (product_group_serial = $6) )"
" AND ( ($3::TEXT IS NULL) OR"
- " (product_name LIKE LOWER($3)) )"
+ " (LOWER(product_name) LIKE LOWER($3)) )"
" AND ( ($4::TEXT IS NULL) OR"
" (description LIKE LOWER($4)) )"
" ORDER BY product_serial ASC"