Skip to content
Snippets Groups Projects
Commit 67d315f3 authored by Joe Ho's avatar Joe Ho
Browse files

Update raw.c

parent 9d0c4aa7
Branches
Tags
No related merge requests found
......@@ -174,7 +174,7 @@ raw_read_segment(IMG_RAW_INFO * raw_info, int idx, char *buf,
if (raw_info->img_writer != NULL) {
/* img_writer is not used with split images, so rel_offset is just the normal offset*/
TSK_RETVAL_ENUM result = raw_info->img_writer->add(raw_info->img_writer, rel_offset, buf, cnt);
// If WriteFile returns error in the addNewBlock, writeError is 1
// If WriteFile returns error in the addNewBlock, hadErrorExtending is 1
if (raw_info->img_writer->inFinalizeImageWriter && raw_info->img_writer->hadErrorExtending) {
tsk_error_reset();
tsk_error_set_errno(TSK_ERR_IMG_WRITE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment