aboutsummaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_db.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-27 18:35:17 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-27 18:35:17 +0100
commitc3731d0df7e03561c7da777b5f75ba53206a38b5 (patch)
tree751e00e70f0fde8a7c11faf6fd0a46ed2aaad361 /src/mint/taler-mint-httpd_db.c
parent16817ef0d12ee1b51203f96b0dd3708c1dae3509 (diff)
downloadexchange-c3731d0df7e03561c7da777b5f75ba53206a38b5.tar.xz
implementing varsize link data
Diffstat (limited to 'src/mint/taler-mint-httpd_db.c')
-rw-r--r--src/mint/taler-mint-httpd_db.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c
index 59e573457..874ac72ee 100644
--- a/src/mint/taler-mint-httpd_db.c
+++ b/src/mint/taler-mint-httpd_db.c
@@ -689,8 +689,10 @@ TALER_MINT_db_execute_refresh_melt (struct MHD_Connection *connection,
*
* @param connection the MHD connection to handle
* @param kappa size of x-dimension of @commit_coin and @commit_link arrays
- * @param num_oldcoins size of y-dimension of @commit_coin and @commit_link arrays
- * @param num_newcoins size of y-dimension of @commit_coin and @commit_link arrays
+ * @param num_oldcoins size of y-dimension of @commit_link array
+ * @param num_newcoins size of y-dimension of @commit_coin array
+ * @param commit_coin
+ * @param commit_link
* @return MHD result code
*/
int
@@ -730,6 +732,9 @@ TALER_MINT_db_execute_refresh_commit (struct MHD_Connection *connection,
{
if (GNUNET_OK !=
TALER_MINT_DB_insert_refresh_commit_coin (db_conn,
+ refresh_session_pub,
+ i,
+ j,
&commit_coin[i][j]))
{
// FIXME: return 'internal error'?
@@ -739,7 +744,11 @@ TALER_MINT_db_execute_refresh_commit (struct MHD_Connection *connection,
}
if (GNUNET_OK !=
- TALER_MINT_DB_insert_refresh_commit_link (db_conn, &commit_link[i][j]))
+ TALER_MINT_DB_insert_refresh_commit_link (db_conn,
+ refresh_session_pub,
+ i,
+ j,
+ &commit_link[i][j]))
{
// FIXME: return 'internal error'?
GNUNET_break (0);