diff options
Diffstat (limited to 'src/mint/taler-mint-httpd_db.c')
-rw-r--r-- | src/mint/taler-mint-httpd_db.c | 15 |
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, | |||
689 | * | 689 | * |
690 | * @param connection the MHD connection to handle | 690 | * @param connection the MHD connection to handle |
691 | * @param kappa size of x-dimension of @commit_coin and @commit_link arrays | 691 | * @param kappa size of x-dimension of @commit_coin and @commit_link arrays |
692 | * @param num_oldcoins size of y-dimension of @commit_coin and @commit_link arrays | 692 | * @param num_oldcoins size of y-dimension of @commit_link array |
693 | * @param num_newcoins size of y-dimension of @commit_coin and @commit_link arrays | 693 | * @param num_newcoins size of y-dimension of @commit_coin array |
694 | * @param commit_coin | ||
695 | * @param commit_link | ||
694 | * @return MHD result code | 696 | * @return MHD result code |
695 | */ | 697 | */ |
696 | int | 698 | int |
@@ -730,6 +732,9 @@ TALER_MINT_db_execute_refresh_commit (struct MHD_Connection *connection, | |||
730 | { | 732 | { |
731 | if (GNUNET_OK != | 733 | if (GNUNET_OK != |
732 | TALER_MINT_DB_insert_refresh_commit_coin (db_conn, | 734 | TALER_MINT_DB_insert_refresh_commit_coin (db_conn, |
735 | refresh_session_pub, | ||
736 | i, | ||
737 | j, | ||
733 | &commit_coin[i][j])) | 738 | &commit_coin[i][j])) |
734 | { | 739 | { |
735 | // FIXME: return 'internal error'? | 740 | // FIXME: return 'internal error'? |
@@ -739,7 +744,11 @@ TALER_MINT_db_execute_refresh_commit (struct MHD_Connection *connection, | |||
739 | } | 744 | } |
740 | 745 | ||
741 | if (GNUNET_OK != | 746 | if (GNUNET_OK != |
742 | TALER_MINT_DB_insert_refresh_commit_link (db_conn, &commit_link[i][j])) | 747 | TALER_MINT_DB_insert_refresh_commit_link (db_conn, |
748 | refresh_session_pub, | ||
749 | i, | ||
750 | j, | ||
751 | &commit_link[i][j])) | ||
743 | { | 752 | { |
744 | // FIXME: return 'internal error'? | 753 | // FIXME: return 'internal error'? |
745 | GNUNET_break (0); | 754 | GNUNET_break (0); |