untar resetting the block length to 0 after use
This commit is contained in:
parent
9753ac30dd
commit
5273e9fca2
@ -322,6 +322,7 @@ printf ("file size = %u [%s]\n", (unsigned int)tar->hi.filesize, hdr->name);
|
|||||||
}
|
}
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
tar->blk.len = 0; /* consumed the block */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -350,6 +351,7 @@ printf("process_content...\n");
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tar->blk.len = 0; /* consumed the block */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user