Made burn_read_data() obey its flag bit1

This commit is contained in:
Thomas Schmitt 2008-04-16 08:22:14 +00:00
parent 6a820e2586
commit 825a087513
2 changed files with 8 additions and 9 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2008.04.15.094133"
#define Cdrskin_timestamP "2008.04.16.082208"

View File

@ -464,14 +464,13 @@ int burn_read_data(struct burn_drive *d, off_t byte_address,
wpt += 2048;
*data_count += 2048;
}
libdax_msgs_submit(libdax_messenger,
d->global_index,
0x00020000,
LIBDAX_MSGS_SEV_DEBUG, LIBDAX_MSGS_PRIO_HIGH,
"burn_read_data() returns 0",
0, 0);
if (!(flag & 2))
libdax_msgs_submit(libdax_messenger,
d->global_index,
0x00020000,
LIBDAX_MSGS_SEV_DEBUG, LIBDAX_MSGS_PRIO_HIGH,
"burn_read_data() returns 0",
0, 0);
ret = 0; goto ex;
}
memcpy(wpt, d->buffer->data, cpy_size);