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",
sizeof (struct TALER_CoinSpendPublicKeyP)), "coin_pub",
"original-value", TALER_json_from_amount (&coin_value), TALER_json_from_data (coin_pub,
"residual-value", TALER_json_from_amount (&residual), sizeof (struct TALER_CoinSpendPublicKeyP)),
"requested-value", TALER_json_from_amount (&requested), "original_value",
"history", history); TALER_json_from_amount (&coin_value),
"residual_value",
TALER_json_from_amount (&residual),
"requested_value",
TALER_json_from_amount (&requested),
"history",
history);
} }