diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-25 19:11:10 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-25 19:11:10 +0100 |
commit | 369b52aac1ffe65fc3e5f915114bdb44d9211e17 (patch) | |
tree | ec2a60e7e55943f95467453fe6bdf6451e471a02 /src/lib | |
parent | d68f76bf9b44732e8a3d7818ba7fc980187732a5 (diff) | |
download | merchant-369b52aac1ffe65fc3e5f915114bdb44d9211e17.tar.gz merchant-369b52aac1ffe65fc3e5f915114bdb44d9211e17.tar.bz2 merchant-369b52aac1ffe65fc3e5f915114bdb44d9211e17.zip |
indentation fixes
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/merchant_api_post_order_claim.c | 3 | ||||
-rw-r--r-- | src/lib/merchant_api_post_orders.c | 8 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/merchant_api_post_order_claim.c b/src/lib/merchant_api_post_order_claim.c index 1389d8ee..f37e5978 100644 --- a/src/lib/merchant_api_post_order_claim.c +++ b/src/lib/merchant_api_post_order_claim.c @@ -190,7 +190,8 @@ TALER_MERCHANT_order_claim (struct GNUNET_CURL_Context *ctx, GNUNET_assert (0 == json_object_set_new (req_obj, "token", - GNUNET_JSON_from_data_auto (claim_token))); + GNUNET_JSON_from_data_auto ( + claim_token))); } och = GNUNET_new (struct TALER_MERCHANT_OrderClaimHandle); och->ctx = ctx; diff --git a/src/lib/merchant_api_post_orders.c b/src/lib/merchant_api_post_orders.c index baab8acd..20af444f 100644 --- a/src/lib/merchant_api_post_orders.c +++ b/src/lib/merchant_api_post_orders.c @@ -100,10 +100,10 @@ handle_post_order_finished (void *cls, struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_string ("order_id", &order_id), - (!has_token) ? - GNUNET_JSON_spec_end () : - GNUNET_JSON_spec_fixed_auto ("token", - &token), + (! has_token) ? + GNUNET_JSON_spec_end () : + GNUNET_JSON_spec_fixed_auto ("token", + &token), GNUNET_JSON_spec_end () }; |