untar resetting the block length to 0 after use

This commit is contained in:
hyung-hwan 2022-11-30 01:33:40 +09:00
parent 9753ac30dd
commit 5273e9fca2

View File

@ -322,6 +322,7 @@ printf ("file size = %u [%s]\n", (unsigned int)tar->hi.filesize, hdr->name);
}
done:
tar->blk.len = 0; /* consumed the block */
return 0;
}
@ -350,6 +351,7 @@ printf("process_content...\n");
}
}
tar->blk.len = 0; /* consumed the block */
return 0;
}