[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: wirewatch: set last
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: wirewatch: set last_row_off_size when we set last_row_off |
Date: |
Tue, 06 Feb 2018 03:02:27 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 24c18fa wirewatch: set last_row_off_size when we set last_row_off
24c18fa is described below
commit 24c18fadb80d72bb3cf34bae9b51c546c6153510
Author: Florian Dold <address@hidden>
AuthorDate: Tue Feb 6 03:02:14 2018 +0100
wirewatch: set last_row_off_size when we set last_row_off
---
src/exchange/taler-exchange-wirewatch.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/exchange/taler-exchange-wirewatch.c
b/src/exchange/taler-exchange-wirewatch.c
index f28c800..f1e4e8f 100644
--- a/src/exchange/taler-exchange-wirewatch.c
+++ b/src/exchange/taler-exchange-wirewatch.c
@@ -352,6 +352,7 @@ history_cb (void *cls,
"Wire transfer over %s has invalid subject `%s', sending it
back!\n",
TALER_amount2s (&details->amount),
details->wtid_s);
+ GNUNET_break (0 != row_off_size);
if (last_row_off_size != row_off_size)
{
GNUNET_free_non_null (last_row_off);
@@ -405,10 +406,13 @@ history_cb (void *cls,
return GNUNET_SYSERR;
}
+ GNUNET_break (0 != row_off_size);
+
if (last_row_off_size != row_off_size)
{
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,
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: wirewatch: set last_row_off_size when we set last_row_off,
gnunet <=