diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-31 10:19:37 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:01:55 +0100 |
commit | b94c69aeb88d446415e8f12b6e5454d027176b0d (patch) | |
tree | 83801b4953b91215de3881ef55bf1593de292f71 /src/backend/taler-merchant-httpd_pay.c | |
parent | 6edff51bf6044779a42bac7b964a08d44b45fe0b (diff) | |
download | merchant-b94c69aeb88d446415e8f12b6e5454d027176b0d.tar.gz merchant-b94c69aeb88d446415e8f12b6e5454d027176b0d.tar.bz2 merchant-b94c69aeb88d446415e8f12b6e5454d027176b0d.zip |
tighten formatting rules
Diffstat (limited to 'src/backend/taler-merchant-httpd_pay.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_pay.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c index 7b2e3fb9..69b8e2d4 100644 --- a/src/backend/taler-merchant-httpd_pay.c +++ b/src/backend/taler-merchant-httpd_pay.c @@ -738,8 +738,7 @@ check_payment_sufficient (struct PayContext *pc) * Deposit fees of *all* the coins are higher than * the fixed limit that the merchant is willing to * pay. The fees difference must be paid by the customer. - */ - if (-1 == TALER_amount_cmp (&pc->max_fee, + */if (-1 == TALER_amount_cmp (&pc->max_fee, &acc_fee)) { struct TALER_Amount excess_fee; @@ -783,8 +782,7 @@ check_payment_sufficient (struct PayContext *pc) * fraction, and check that the remaining paid amount is * enough to pay both the remaining wire fee customer's * fraction AND the price of the contract itself. - */ - else + */else { struct TALER_Amount deposit_fee_savings; @@ -2230,4 +2228,5 @@ MH_handler_pay (struct TMH_RequestHandler *rh, return MHD_YES; } + /* end of taler-merchant-httpd_pay.c */ |