diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util/amount.c | 3 |
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) ) { |