Fix savannah bug #63567

* src/buffer.c (short_read): Increase records_read only if a full
record has been read.
This commit is contained in:
Sergey Poznyakoff
2022-12-26 23:44:40 +02:00
parent 24c8306965
commit e89c7a45eb

View File

@@ -982,7 +982,8 @@ short_read (size_t status)
}
record_end = record_start + (record_size - left) / BLOCKSIZE;
records_read++;
if (left == 0)
records_read++;
}
/* Flush the current buffer to/from the archive. */