commit ea1f2a1cd5fc6c9a0b4109ebf0c72a066a5dfa2b
parent 0f5819de588d01a68c4b8c28c65b752cfad890ab
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 19 Mar 2017 11:09:32 +0100
properly update 'last' to make sanity check effective
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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,