properly update 'last' to make sanity check effective
This commit is contained in:
parent
0f5819de58
commit
ea1f2a1cd5
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user