diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-15 16:44:53 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-15 16:44:53 +0100 |
commit | 37a194c0bada3161bd75d765da00d6fb9de3d5f9 (patch) | |
tree | 59aefc1bf599e47c99a3c001bd703218ea858f16 /src/mint/taler-mint-httpd_responses.c | |
parent | 53b189868edbc855240026c2a02fe6c4e53f9bb0 (diff) | |
download | exchange-37a194c0bada3161bd75d765da00d6fb9de3d5f9.tar.gz exchange-37a194c0bada3161bd75d765da00d6fb9de3d5f9.tar.bz2 exchange-37a194c0bada3161bd75d765da00d6fb9de3d5f9.zip |
simplify json construction code
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.c')
-rw-r--r-- | src/mint/taler-mint-httpd_responses.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mint/taler-mint-httpd_responses.c b/src/mint/taler-mint-httpd_responses.c index 1a0a7c997..3d827b118 100644 --- a/src/mint/taler-mint-httpd_responses.c +++ b/src/mint/taler-mint-httpd_responses.c @@ -689,7 +689,9 @@ TALER_MINT_reply_refresh_reveal_success (struct MHD_Connection *connection, root = json_object (); list = json_array (); - json_object_set_new (root, "ev_sigs", list); + json_object_set_new (root, + "ev_sigs", + list); for (newcoin_index = 0; newcoin_index < num_newcoins; newcoin_index++) json_array_append_new (list, TALER_JSON_from_rsa_signature (sigs[newcoin_index])); |