exchange

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

commit 9b585fd066c238485b161b7664901e9d23ecf56b
parent ad97b8d43983730287946bc3b21ae3a24a746587
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  6 Oct 2017 21:39:19 +0200

handle plugin load failure without crashing

Diffstat:
Msrc/exchange/test_taler_exchange_aggregator.c | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/exchange/test_taler_exchange_aggregator.c b/src/exchange/test_taler_exchange_aggregator.c @@ -1125,6 +1125,12 @@ run (void *cls) struct TALER_DenominationPublicKey dpk; plugin = TALER_EXCHANGEDB_plugin_load (cfg); + if (NULL == plugin) + { + GNUNET_break (0); + result = 77; + return; + } if (GNUNET_OK != plugin->create_tables (plugin->cls)) {