diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-21 13:31:05 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-21 13:31:05 +0100 |
commit | 4d8f4903db35e9ef6492864c018238e89033ccc7 (patch) | |
tree | 2662fd893cf74445f37f56976085b66ad0dab48c /src/mint/mint_db.c | |
parent | 82217f67db5fc0520cd40225be897260aacba933 (diff) |
properly separate DB logic from parsing logic for /refresh/commit
Diffstat (limited to 'src/mint/mint_db.c')
-rw-r--r-- | src/mint/mint_db.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mint/mint_db.c b/src/mint/mint_db.c index af900b5d7..6ce60fc45 100644 --- a/src/mint/mint_db.c +++ b/src/mint/mint_db.c @@ -1087,7 +1087,8 @@ TALER_MINT_DB_upsert_known_coin (PGconn *db_conn, struct KnownCoin *known_coin) int -TALER_MINT_DB_insert_refresh_commit_link (PGconn *db_conn, struct RefreshCommitLink *commit_link) +TALER_MINT_DB_insert_refresh_commit_link (PGconn *db_conn, + const struct RefreshCommitLink *commit_link) { uint16_t cnc_index_nbo = htons (commit_link->cnc_index); uint16_t oldcoin_index_nbo = htons (commit_link->oldcoin_index); @@ -1121,7 +1122,8 @@ TALER_MINT_DB_insert_refresh_commit_link (PGconn *db_conn, struct RefreshCommitL int -TALER_MINT_DB_insert_refresh_commit_coin (PGconn *db_conn, struct RefreshCommitCoin *commit_coin) +TALER_MINT_DB_insert_refresh_commit_coin (PGconn *db_conn, + const struct RefreshCommitCoin *commit_coin) { uint16_t cnc_index_nbo = htons (commit_coin->cnc_index); uint16_t newcoin_index_nbo = htons (commit_coin->newcoin_index); |