From ea1f2a1cd5fc6c9a0b4109ebf0c72a066a5dfa2b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 19 Mar 2017 11:09:32 +0100 Subject: [PATCH] properly update 'last' to make sanity check effective --- src/exchangedb/exchangedb_fees.c | 1 + 1 file changed, 1 insertion(+) 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,