exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 361fbdfcbe4101e35ba0e7d2934207fbdfcd2982
parent bb54785d34a1664ad53f5a2e371a725f4b842323
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Mon, 17 Aug 2026 17:17:09 +0200

check ctx for NULL before use

Diffstat:
Msrc/exchange/taler-exchange-transfer.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/exchange/taler-exchange-transfer.c b/src/exchange/taler-exchange-transfer.c @@ -871,12 +871,13 @@ run (void *cls, } ctx = GNUNET_CURL_init (&GNUNET_CURL_gnunet_scheduler_reschedule, &rc); - rc = GNUNET_CURL_gnunet_rc_create (ctx); if (NULL == ctx) { GNUNET_break (0); + global_ret = EXIT_NO_RESTART; return; } + rc = GNUNET_CURL_gnunet_rc_create (ctx); if (GNUNET_SYSERR == TALER_EXCHANGEDB_preflight (pg)) {