diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-15 22:10:12 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-15 22:10:12 +0200 |
commit | 0e6c4ba898b0f4c7e53b02a65f99cc4b6b066ad7 (patch) | |
tree | d4f74fb23e802cc6e699892aece5fcc5631df88d /src/exchange | |
parent | eb354680b45f167ded8b9a6a01090f34d88775f3 (diff) | |
download | exchange-0e6c4ba898b0f4c7e53b02a65f99cc4b6b066ad7.tar.gz exchange-0e6c4ba898b0f4c7e53b02a65f99cc4b6b066ad7.tar.bz2 exchange-0e6c4ba898b0f4c7e53b02a65f99cc4b6b066ad7.zip |
work on #5010
Diffstat (limited to 'src/exchange')
-rw-r--r-- | src/exchange/taler-exchange-httpd_keystate.c | 10 | ||||
-rw-r--r-- | src/exchange/test_taler_exchange_aggregator.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c index 6fc55a0b0..7c499b00b 100644 --- a/src/exchange/taler-exchange-httpd_keystate.c +++ b/src/exchange/taler-exchange-httpd_keystate.c @@ -485,11 +485,11 @@ reload_keys_denom_iter (void *cls, session); break; } - res = TEH_plugin->insert_denomination_info (TEH_plugin->cls, - session, - &dki->denom_pub, - &dki->issue); - if (GNUNET_OK != res) + qs = TEH_plugin->insert_denomination_info (TEH_plugin->cls, + session, + &dki->denom_pub, + &dki->issue); + if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != qs) { /* Insert failed!? Very bad error, log and retry */ GNUNET_break (0); diff --git a/src/exchange/test_taler_exchange_aggregator.c b/src/exchange/test_taler_exchange_aggregator.c index db22613b7..7f9ea41da 100644 --- a/src/exchange/test_taler_exchange_aggregator.c +++ b/src/exchange/test_taler_exchange_aggregator.c @@ -1143,7 +1143,7 @@ run (void *cls) if ( (GNUNET_OK != plugin->start (plugin->cls, session)) || - (GNUNET_OK != + (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != plugin->insert_denomination_info (plugin->cls, session, &dpk, |