summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_refresh.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-05 13:48:35 +0200
committerChristian Grothoff <christian@grothoff.org>2015-07-05 13:48:35 +0200
commitac8420a66140aa850b1573a3503ed3a7f3cc974c (patch)
tree9a88a19c29a27f1a47da1487c04871a8f667ca61 /src/mint/taler-mint-httpd_refresh.c
parenta104914e4d209d9c2d94a8f4e943dd29e739158a (diff)
downloadexchange-ac8420a66140aa850b1573a3503ed3a7f3cc974c.tar.gz
exchange-ac8420a66140aa850b1573a3503ed3a7f3cc974c.tar.bz2
exchange-ac8420a66140aa850b1573a3503ed3a7f3cc974c.zip
add cov for mint build
Diffstat (limited to 'src/mint/taler-mint-httpd_refresh.c')
-rw-r--r--src/mint/taler-mint-httpd_refresh.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mint/taler-mint-httpd_refresh.c b/src/mint/taler-mint-httpd_refresh.c
index 28670b98d..4fc923759 100644
--- a/src/mint/taler-mint-httpd_refresh.c
+++ b/src/mint/taler-mint-httpd_refresh.c
@@ -653,12 +653,12 @@ TMH_REFRESH_handler_refresh_melt (struct TMH_RequestHandler *rh,
json_t *coin_detail;
int res;
struct TMH_PARSE_FieldSpecification spec[] = {
- TMH_PARSE_MEMBER_ARRAY ("new_denoms", &new_denoms),
- TMH_PARSE_MEMBER_ARRAY ("melt_coins", &melt_coins),
- TMH_PARSE_MEMBER_ARRAY ("coin_evs", &coin_evs),
- TMH_PARSE_MEMBER_ARRAY ("link_encs", &link_encs),
- TMH_PARSE_MEMBER_ARRAY ("transfer_pubs", &transfer_pubs),
- TMH_PARSE_MEMBER_ARRAY ("secret_encs", &secret_encs),
+ TMH_PARSE_member_array ("new_denoms", &new_denoms),
+ TMH_PARSE_member_array ("melt_coins", &melt_coins),
+ TMH_PARSE_member_array ("coin_evs", &coin_evs),
+ TMH_PARSE_member_array ("link_encs", &link_encs),
+ TMH_PARSE_member_array ("transfer_pubs", &transfer_pubs),
+ TMH_PARSE_member_array ("secret_encs", &secret_encs),
TMH_PARSE_MEMBER_END
};
@@ -820,7 +820,7 @@ TMH_REFRESH_handler_refresh_reveal (struct TMH_RequestHandler *rh,
json_t *transfer_privs;
struct TMH_PARSE_FieldSpecification spec[] = {
TMH_PARSE_MEMBER_FIXED ("session_hash", &session_hash),
- TMH_PARSE_MEMBER_ARRAY ("transfer_privs", &transfer_privs),
+ TMH_PARSE_member_array ("transfer_privs", &transfer_privs),
TMH_PARSE_MEMBER_END
};