aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-19 11:09:32 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-19 11:09:32 +0100
commitea1f2a1cd5fc6c9a0b4109ebf0c72a066a5dfa2b (patch)
treed83f4ec89e261c3daeda632119d1a342efd36db1 /src/exchangedb
parent0f5819de588d01a68c4b8c28c65b752cfad890ab (diff)
properly update 'last' to make sanity check effective
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/exchangedb_fees.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exchangedb/exchangedb_fees.c b/src/exchangedb/exchangedb_fees.c
index e3e16712d..228015c03 100644
--- a/src/exchangedb/exchangedb_fees.c
+++ b/src/exchangedb/exchangedb_fees.c
@@ -212,6 +212,7 @@ TALER_EXCHANGEDB_fees_write (const char *filename,
af,
&wd.wf);
wd.master_sig = af->master_sig;
+ last = af;
af = af->next;
if (sizeof (wd) !=
GNUNET_DISK_file_write (fh,