(read_and): Initialize current_stat_info

and extended_header at the start of the loop.
This commit is contained in:
Sergey Poznyakoff
2003-11-13 08:46:26 +00:00
parent 572225dfdc
commit cc8628df0c

View File

@@ -76,6 +76,9 @@ read_and (void (*do_something) (void))
do
{
prev_status = status;
destroy_stat (&current_stat_info);
xheader_destroy (&extended_header);
status = read_header (false);
switch (status)
{