summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-get-reserves-ID.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-05 13:16:48 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-05 13:16:48 +0200
commitc4b27ca9b9a5ef4291257e4a8b8f4bac56720b89 (patch)
tree39e195bbb8b7eba8b34ff730b64264e1f35538c1 /src/backend/taler-merchant-httpd_private-get-reserves-ID.c
parent4e3a4981d2aecf80c51759ceb37b7277d924e810 (diff)
downloadmerchant-c4b27ca9b9a5ef4291257e4a8b8f4bac56720b89.tar.gz
merchant-c4b27ca9b9a5ef4291257e4a8b8f4bac56720b89.tar.bz2
merchant-c4b27ca9b9a5ef4291257e4a8b8f4bac56720b89.zip
-more merchant clean upv0.9.3-dev.2
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-reserves-ID.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-reserves-ID.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-reserves-ID.c b/src/backend/taler-merchant-httpd_private-get-reserves-ID.c
index 27ea2be1..4eaa6538 100644
--- a/src/backend/taler-merchant-httpd_private-get-reserves-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-reserves-ID.c
@@ -70,18 +70,19 @@ struct GetReserveContext
* @param tips information about the tips created by this reserve
*/
static void
-handle_reserve_details (void *cls,
- struct GNUNET_TIME_Timestamp creation_time,
- struct GNUNET_TIME_Timestamp expiration_time,
- const struct TALER_Amount *merchant_initial_amount,
- const struct TALER_Amount *exchange_initial_amount,
- const struct TALER_Amount *picked_up_amount,
- const struct TALER_Amount *committed_amount,
- bool active,
- const struct TALER_MasterPublicKeyP *master_pub,
- const char *exchange_url,
- unsigned int tips_length,
- const struct TALER_MERCHANTDB_TipDetails *tips)
+handle_reserve_details (
+ void *cls,
+ struct GNUNET_TIME_Timestamp creation_time,
+ struct GNUNET_TIME_Timestamp expiration_time,
+ const struct TALER_Amount *merchant_initial_amount,
+ const struct TALER_Amount *exchange_initial_amount,
+ const struct TALER_Amount *picked_up_amount,
+ const struct TALER_Amount *committed_amount,
+ bool active,
+ const struct TALER_MasterPublicKeyP *master_pub,
+ const char *exchange_url,
+ unsigned int tips_length,
+ const struct TALER_MERCHANTDB_TipDetails *tips)
{
struct GetReserveContext *ctx = cls;
json_t *tips_json;