diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-19 11:09:32 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-19 11:09:32 +0100 |
commit | ea1f2a1cd5fc6c9a0b4109ebf0c72a066a5dfa2b (patch) | |
tree | d83f4ec89e261c3daeda632119d1a342efd36db1 | |
parent | 0f5819de588d01a68c4b8c28c65b752cfad890ab (diff) | |
download | exchange-ea1f2a1cd5fc6c9a0b4109ebf0c72a066a5dfa2b.tar.xz |
properly update 'last' to make sanity check effective
-rw-r--r-- | src/exchangedb/exchangedb_fees.c | 1 |
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, |