[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 02/03: fix ftbfs
From: |
gnunet |
Subject: |
[taler-exchange] 02/03: fix ftbfs |
Date: |
Fri, 03 Apr 2020 20:47:56 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 02736e40c202ea0008eb863626f9147844ca7abd
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Apr 3 20:47:34 2020 +0200
fix ftbfs
---
src/util/amount.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/util/amount.c b/src/util/amount.c
index 454f3080..f96ab9c4 100644
--- a/src/util/amount.c
+++ b/src/util/amount.c
@@ -535,10 +535,9 @@ TALER_amount_normalize (struct TALER_Amount *amount)
return GNUNET_SYSERR;
if (amount->fraction < TALER_AMOUNT_FRAC_BASE)
return GNUNET_NO;
- overflow = amount->fraction / TALER_AMOUT_FRAC_BASE;
+ overflow = amount->fraction / TALER_AMOUNT_FRAC_BASE;
amount->fraction %= TALER_AMOUNT_FRAC_BASE;
amount->value += overflow;
- ret = GNUNET_OK;
if ( (amount->value < overflow) ||
(amount->value > MAX_AMOUNT_VALUE) )
{
--
To stop receiving notification emails like this one, please contact
address@hidden.