properly update 'last' to make sanity check effective

This commit is contained in:
Christian Grothoff 2017-03-19 11:09:32 +01:00
parent 0f5819de58
commit ea1f2a1cd5
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -212,6 +212,7 @@ TALER_EXCHANGEDB_fees_write (const char *filename,
af, af,
&wd.wf); &wd.wf);
wd.master_sig = af->master_sig; wd.master_sig = af->master_sig;
last = af;
af = af->next; af = af->next;
if (sizeof (wd) != if (sizeof (wd) !=
GNUNET_DISK_file_write (fh, GNUNET_DISK_file_write (fh,