diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-27 14:55:05 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-27 14:55:05 +0100 |
commit | bda9e3ad94b4ede04ed3886dd8097b35a868eef5 (patch) | |
tree | a06a801b9c8f0c1fb61ea595d9633d61e93bbf99 /src/mint/taler-mint-httpd_db.c | |
parent | 986a89ea4f166567ad2890009d43fd0042bdf142 (diff) | |
download | exchange-bda9e3ad94b4ede04ed3886dd8097b35a868eef5.tar.xz |
towards making code compile again
Diffstat (limited to 'src/mint/taler-mint-httpd_db.c')
-rw-r--r-- | src/mint/taler-mint-httpd_db.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c index 78946f50f..4ddefb4ab 100644 --- a/src/mint/taler-mint-httpd_db.c +++ b/src/mint/taler-mint-httpd_db.c @@ -821,11 +821,10 @@ helper_refresh_reveal_send_response (struct MHD_Connection *connection, sizeof (struct GNUNET_CRYPTO_rsa_Signature *)); for (newcoin_index = 0; newcoin_index < refresh_session->num_newcoins; newcoin_index++) { - res = TALER_MINT_DB_get_refresh_collectable (db_conn, - newcoin_index, - refresh_session_pub, - &sigs[newcoin_index]); - if (GNUNET_OK != res) + sigs[newcoin_index] = TALER_MINT_DB_get_refresh_collectable (db_conn, + newcoin_index, + refresh_session_pub); + if (NULL == sigs[newcoin_index]) { // FIXME: return 'internal error' GNUNET_break (0); @@ -1014,8 +1013,8 @@ TALER_MINT_db_execute_refresh_reveal (struct MHD_Connection *connection, // FIXME: return error code! return MHD_NO; } - res = TALER_MINT_DB_get_refresh_order (db_conn, j, refresh_session_pub, &denom_pub); - if (GNUNET_OK != res) + denom_pub = TALER_MINT_DB_get_refresh_order (db_conn, j, refresh_session_pub); + if (NULL == denom_pub) { GNUNET_break (0); // FIXME: return error code! |