[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] 01/02: wirewatch: fix uninitialized offset
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] 01/02: wirewatch: fix uninitialized offset variable, logging |
Date: |
Mon, 05 Feb 2018 17:22:14 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
commit b6b7a36737579b44f243b24f903539cf9967f454
Author: Florian Dold <address@hidden>
AuthorDate: Mon Feb 5 17:19:18 2018 +0100
wirewatch: fix uninitialized offset variable, logging
---
src/exchange/taler-exchange-wirewatch.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/exchange/taler-exchange-wirewatch.c
b/src/exchange/taler-exchange-wirewatch.c
index e45b424..652b346 100644
--- a/src/exchange/taler-exchange-wirewatch.c
+++ b/src/exchange/taler-exchange-wirewatch.c
@@ -306,6 +306,9 @@ history_cb (void *cls,
enum GNUNET_DB_QueryStatus qs;
struct TALER_ReservePublicKeyP reserve_pub;
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Got history callback, direction %u!\n", (unsigned int) dir);
+
if (TALER_BANK_DIRECTION_NONE == dir)
{
hh = NULL;
@@ -353,6 +356,7 @@ history_cb (void *cls,
{
GNUNET_free_non_null (last_row_off);
last_row_off = GNUNET_malloc (row_off_size);
+ last_row_off_size = row_off_size;
}
memcpy (last_row_off,
row_off,
@@ -472,6 +476,7 @@ find_transfers (void *cls)
return;
}
}
+ GNUNET_assert ((NULL == start_off) || ((NULL != start_off) &&
(start_off_size != 0)));
delay = GNUNET_YES;
hh = wire_plugin->get_history (wire_plugin->cls,
TALER_BANK_DIRECTION_CREDIT,
--
To stop receiving notification emails like this one, please contact
address@hidden