[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: simplify DB logic in auditor-htt
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: simplify DB logic in auditor-httpd |
Date: |
Fri, 17 Jan 2020 13:06:30 +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 31b413fe simplify DB logic in auditor-httpd
31b413fe is described below
commit 31b413fed228e84bfe968f6223ee5ae39520aa19
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Jan 17 13:06:28 2020 +0100
simplify DB logic in auditor-httpd
---
src/auditor/taler-auditor-httpd_deposit-confirmation.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/auditor/taler-auditor-httpd_deposit-confirmation.c
b/src/auditor/taler-auditor-httpd_deposit-confirmation.c
index f42cc374..2d73bab2 100644
--- a/src/auditor/taler-auditor-httpd_deposit-confirmation.c
+++ b/src/auditor/taler-auditor-httpd_deposit-confirmation.c
@@ -89,8 +89,9 @@ verify_and_execute_deposit_confirmation (struct
MHD_Connection *connection,
qs = TAH_plugin->insert_exchange_signkey (TAH_plugin->cls,
session,
es);
- if (GNUNET_DB_STATUS_HARD_ERROR == qs)
+ if (0 > qs)
{
+ GNUNET_break (GNUNET_DB_STATUS_HARD_ERROR == qs);
TALER_LOG_WARNING ("Failed to store exchange signing key in database\n");
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_INTERNAL_SERVER_ERROR,
--
To stop receiving notification emails like this one, please contact
address@hidden.