diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-20 13:40:17 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-20 13:40:17 +0200 |
commit | 39db1ae5dbbd12c0f452cfa56119d9a95f9b1b22 (patch) | |
tree | d1d04891fc363c7df78b42d9224d979b30bf971a /src/exchangedb/test_exchangedb.c | |
parent | 247f82c088dd1575709a676ab87555514fa6445e (diff) |
address #5010 for /refresh/link
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index 9a58a38ec..df730a07e 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -530,6 +530,7 @@ test_melting (struct TALER_EXCHANGEDB_Session *session) struct TALER_DenominationSignature ev_sigs[MELT_NEW_COINS]; unsigned int cnt; int ret; + enum GNUNET_DB_QueryStatus qs; ret = GNUNET_SYSERR; memset (ev_sigs, 0, sizeof (ev_sigs)); @@ -695,9 +696,11 @@ test_melting (struct TALER_EXCHANGEDB_Session *session) GNUNET_CRYPTO_rsa_signature_free (test_sig.rsa_signature); } - ldl = plugin->get_link_data_list (plugin->cls, - session, - &session_hash); + qs = plugin->get_link_data_list (plugin->cls, + session, + &session_hash, + &ldl); + FAILIF (0 >= qs); FAILIF (NULL == ldl); for (ldlp = ldl; NULL != ldlp; ldlp = ldlp->next) { @@ -742,7 +745,7 @@ test_melting (struct TALER_EXCHANGEDB_Session *session) int ok; ok = GNUNET_NO; - FAILIF (GNUNET_OK != + FAILIF (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != plugin->get_transfer (plugin->cls, session, &meltp->coin.coin_pub, |