gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] branch master updated (a543614 -> a9310ad)


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated (a543614 -> a9310ad)
Date: Wed, 07 Feb 2018 02:45:05 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a change to branch master
in repository exchange.

    from a543614  wirewatch: fix and simplify last row tracking
     add a9310ad  wire plugin (test): gracefully handle errors

No new revisions were added by this update.

Summary of changes:
 src/wire/plugin_wire_test.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/wire/plugin_wire_test.c b/src/wire/plugin_wire_test.c
index c76bf01..c38a75d 100644
--- a/src/wire/plugin_wire_test.c
+++ b/src/wire/plugin_wire_test.c
@@ -955,8 +955,14 @@ test_get_history (void *cls,
   if ( (NULL != start_off) &&
        (sizeof (uint64_t) != start_off_len) )
   {
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+                "Wire plugin 'test' got start offset of wrong size (%llu 
instead of %llu)\n"
+                (unsigned long long) start_off_len, (unsigned long long) 
sizeof (uint64_t));
     GNUNET_break (0);
-    return NULL;
+    /* Probably something is wrong with the DB, some other component
+     * wrote a wrong value to it.  Instead of completely stopping to work, 
+     * we just scan from the beginning. */
+    start_off = NULL;
   }
   if (NULL == start_off)
   {

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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