[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: simplify logic
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: simplify logic |
Date: |
Sat, 13 Feb 2021 19:04:10 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 5e15bc6f simplify logic
5e15bc6f is described below
commit 5e15bc6f285d42f31f48b63d0eaced6768b910c1
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Feb 13 19:04:08 2021 +0100
simplify logic
---
src/exchange/taler-exchange-httpd_keys.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_keys.c
b/src/exchange/taler-exchange-httpd_keys.c
index 6515bc3d..910b47a6 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -1640,6 +1640,7 @@ build_key_state (struct HelperState *hs,
setup_key_helpers (ksh->helpers))
{
GNUNET_free (ksh->helpers);
+ GNUNET_assert (NULL == ksh->management_keys_reply);
GNUNET_free (ksh);
return NULL;
}
@@ -1768,15 +1769,12 @@ get_key_state (bool management_only)
GNUNET_break (0);
if (NULL != ksh)
destroy_key_state (ksh,
- (NULL == old_ksh));
+ false);
return NULL;
}
- if (NULL != old_ksh)
- {
- old_ksh->helpers = NULL;
- destroy_key_state (old_ksh,
- false);
- }
+ old_ksh->helpers = NULL;
+ destroy_key_state (old_ksh,
+ false);
return ksh;
}
sync_key_helpers (old_ksh->helpers);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: simplify logic,
gnunet <=