[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated (859337ea -> b290ca30)
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated (859337ea -> b290ca30) |
Date: |
Mon, 20 Jan 2020 01:40:31 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a change to branch master
in repository exchange.
from 859337ea bugfixes
new e090d69c fix
new b290ca30 fix
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/exchange/taler-exchange-httpd.c | 2 +-
src/exchange/taler-exchange-httpd_keystate.c | 3 +--
src/util/amount.c | 3 ++-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd.c
b/src/exchange/taler-exchange-httpd.c
index 2389c075..9997ff1c 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -1098,7 +1098,7 @@ main (int argc,
if (NULL != input_filename)
{
if (-1 != fh)
- close (fh);
+ GNUNET_break (0 == close (fh));
ret = run_single_request ();
}
else
diff --git a/src/exchange/taler-exchange-httpd_keystate.c
b/src/exchange/taler-exchange-httpd_keystate.c
index a0472d50..76471fff 100644
--- a/src/exchange/taler-exchange-httpd_keystate.c
+++ b/src/exchange/taler-exchange-httpd_keystate.c
@@ -1922,8 +1922,7 @@ TEH_KS_acquire_ (struct GNUNET_TIME_Absolute now,
(internal_key_state->next_reload.abs_value_us <= now.abs_value_us) )
||
(NULL == internal_key_state) )
{
- struct TEH_KS_StateHandle *os = internal_key_state;
-
+ os = internal_key_state;
internal_key_state = make_fresh_key_state (now);
internal_key_state->refcnt = 1; /* alias from #internal_key_state */
if (NULL != os)
diff --git a/src/util/amount.c b/src/util/amount.c
index c15eeaaf..e50d9ad1 100644
--- a/src/util/amount.c
+++ b/src/util/amount.c
@@ -686,7 +686,8 @@ TALER_amount_divide (struct TALER_Amount *result,
modr = (modr * TALER_AMOUNT_FRAC_BASE) + result->fraction;
result->fraction = (uint32_t) (modr / divisor);
/* 'fraction' could now be larger than #TALER_AMOUNT_FRAC_BASE, so we must
normalize */
- TALER_amount_normalize (result);
+ GNUNET_assert (GNUNET_SYSERR !=
+ TALER_amount_normalize (result));
}
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [taler-exchange] branch master updated (859337ea -> b290ca30),
gnunet <=