summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-03 20:47:34 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-03 20:47:34 +0200
commit02736e40c202ea0008eb863626f9147844ca7abd (patch)
treebe7b1d166990c264cfe036ade94d59c4b6cc09ca /src/util
parent61cfaa5981e1e0ab85154e4f168e03c49f85eba2 (diff)
downloadexchange-02736e40c202ea0008eb863626f9147844ca7abd.tar.gz
exchange-02736e40c202ea0008eb863626f9147844ca7abd.tar.bz2
exchange-02736e40c202ea0008eb863626f9147844ca7abd.zip
fix ftbfs
Diffstat (limited to 'src/util')
-rw-r--r--src/util/amount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/amount.c b/src/util/amount.c
index 454f3080d..f96ab9c49 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) )
{