use _ instead of - for consistency

This commit is contained in:
Christian Grothoff 2015-08-08 21:19:54 +02:00
parent eec485b322
commit 493f541c20

View File

@ -713,13 +713,19 @@ TMH_RESPONSE_reply_refresh_melt_insufficient_funds (struct MHD_Connection *conne
return TMH_RESPONSE_reply_json_pack (connection, return TMH_RESPONSE_reply_json_pack (connection,
MHD_HTTP_NOT_FOUND, MHD_HTTP_NOT_FOUND,
"{s:s, s:o, s:o, s:o, s:o, s:o}", "{s:s, s:o, s:o, s:o, s:o, s:o}",
"error", "insufficient funds", "error",
"coin-pub", TALER_json_from_data (coin_pub, "insufficient funds",
"coin_pub",
TALER_json_from_data (coin_pub,
sizeof (struct TALER_CoinSpendPublicKeyP)), sizeof (struct TALER_CoinSpendPublicKeyP)),
"original-value", TALER_json_from_amount (&coin_value), "original_value",
"residual-value", TALER_json_from_amount (&residual), TALER_json_from_amount (&coin_value),
"requested-value", TALER_json_from_amount (&requested), "residual_value",
"history", history); TALER_json_from_amount (&residual),
"requested_value",
TALER_json_from_amount (&requested),
"history",
history);
} }