[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] 01/08: assertion only holds if we did get
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] 01/08: assertion only holds if we did get results |
Date: |
Tue, 17 Oct 2017 19:53:50 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 298d7dd3672ad4e90b6cadd980842f017de29ba5
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Oct 17 12:31:39 2017 +0200
assertion only holds if we did get results
---
src/auditordb/plugin_auditordb_postgres.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/auditordb/plugin_auditordb_postgres.c
b/src/auditordb/plugin_auditordb_postgres.c
index ba75075..1001ba9 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -1445,6 +1445,11 @@ postgres_get_wire_auditor_progress (void *cls,
"wire_auditor_progress_select",
params,
rs);
+ if (qs <= 0)
+ {
+ *wire_off_size = 0;
+ xsize = 0;
+ }
GNUNET_assert (xsize == *wire_off_size);
return qs;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [taler-exchange] branch master updated (eda7e1c -> 58528f3), gnunet, 2017/10/17
- [GNUnet-SVN] [taler-exchange] 01/08: assertion only holds if we did get results,
gnunet <=
- [GNUnet-SVN] [taler-exchange] 03/08: make --wire argument mandatory, gnunet, 2017/10/17
- [GNUnet-SVN] [taler-exchange] 04/08: exit more nicely if command line arguments were wrong, gnunet, 2017/10/17
- [GNUnet-SVN] [taler-exchange] 08/08: update docs, gnunet, 2017/10/17
- [GNUnet-SVN] [taler-exchange] 05/08: actually properly implement API wrt return value handling, even if not used today, gnunet, 2017/10/17
- [GNUnet-SVN] [taler-exchange] 06/08: report if DK lacks auditor signature, gnunet, 2017/10/17
- [GNUnet-SVN] [taler-exchange] 07/08: fix matching of auditor keys/denomination issues so that we return _all_ applicable auditor signatures, instead of a tiny subset, gnunet, 2017/10/17
- [GNUnet-SVN] [taler-exchange] 02/08: add JSON auditor output samples, gnunet, 2017/10/17