chiark
/
gitweb
/
~mdw
/
dvdrip
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9c8ab41
)
dvd-sector-copy.c: Write new data into the correct part of the buffer.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 18 Feb 2022 22:55:57 +0000
(22:55 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 18 Feb 2022 22:55:57 +0000
(22:55 +0000)
The debugging message had the right value, which made this annoyingly
hard to track down.
dvd-sector-copy.c
patch
|
blob
|
blame
|
history
diff --git
a/dvd-sector-copy.c
b/dvd-sector-copy.c
index 5c2c46bfad254be3c7c5ba2b9aa9f260045381ff..dd97d8b88bfe7de17bc53491b2d507a125989f91 100644
(file)
--- a/
dvd-sector-copy.c
+++ b/
dvd-sector-copy.c
@@
-611,7
+611,7
@@
static ssize_t recovery_read(struct recoverybuf *r,
r->pos + pp, pp, nn);
fflush(stdout);
#endif
r->pos + pp, pp, nn);
fflush(stdout);
#endif
- n = recovery_read_sectors(r, pos, pp, nn);
+ n = recovery_read_sectors(r, pos
+ pp
, pp, nn);
#ifdef DEBUG
printf(" -> %zd\n", n);
#endif
#ifdef DEBUG
printf(" -> %zd\n", n);
#endif