HEADER_SUCCESS_EXTENDED followed by HEADER_FAILURE.
Pass true/false to read_header, not 1/0.
do
{
- enum read_header status = read_header (1);
+ enum read_header status = read_header (true);
switch (status)
{
/* Fall through. */
case HEADER_SUCCESS:
+ case HEADER_SUCCESS_EXTENDED:
case HEADER_ZERO_BLOCK:
ERROR ((0, 0, _("Skipping to next header")));
/* Fall through. */
if (current_block == record_end)
flush_archive ();
- status = read_header (0);
+ status = read_header (false);
if (status == HEADER_ZERO_BLOCK && ignore_zeros_option)
{