gnunet-svn
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]