[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: don't mark auditor
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: don't mark auditor as 'up' when version request failed |
Date: |
Sat, 31 Aug 2019 21:18:58 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 34652f45 don't mark auditor as 'up' when version request failed
34652f45 is described below
commit 34652f45f3c321044b853df6c452578da94c8739
Author: Florian Dold <address@hidden>
AuthorDate: Sat Aug 31 21:18:55 2019 +0200
don't mark auditor as 'up' when version request failed
---
src/lib/exchange_api_handle.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index d0777dc0..bbe5f45a 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -672,6 +672,15 @@ auditor_version_cb
{
struct TEAH_AuditorListEntry *ale = cls;
+ if (NULL == vi)
+ {
+ /* In this case, we don't mark the auditor as 'up' */
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ _ ("Auditor `%s' gave unexpected version response.\n"),
+ ale->auditor_url);
+ return;
+ }
+
if (0 != (TALER_AUDITOR_VC_INCOMPATIBLE & compat))
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: don't mark auditor as 'up' when version request failed,
gnunet <=