chiark
/
gitweb
/
~ian
/
innduct.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix compile warnings/errors
[innduct.git]
/
__oop-read-copy.c
diff --git
a/__oop-read-copy.c
b/__oop-read-copy.c
index 4fffdfcc991c5da4150b528c75ca9abb7d249035..bd505c4b536a50dda4205138b89920fa0e3367b9 100644
(file)
--- a/
__oop-read-copy.c
+++ b/
__oop-read-copy.c
@@
-404,7
+404,7
@@
static void *on_process(oop_source *oop, oop_read *rd, int try_read) {
}
assert(rd->style.nul_mode == OOP_RD_NUL_DISCARD);
for (notnul= nul+1;
- notnul < buf+thisrecsz && notnul == '\0';
+ notnul < buf+thisrecsz &&
*
notnul == '\0';
notnul++);
thisrecsz-= (notnul-nul);
checked= nul-buf;