Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
read_istream_filtered: propagate read error from upstream
[gitweb.git]
/
streaming.c
diff --git
a/streaming.c
b/streaming.c
index f4126a7da5fb915b3d1df857b39ca9ab0ab6fb16..f4ab12ba420e99cd08abed1762e8ee7c040261b6 100644
(file)
--- a/
streaming.c
+++ b/
streaming.c
@@
-237,7
+237,7
@@
static read_method_decl(filtered)
if (!fs->input_finished) {
fs->i_end = read_istream(fs->upstream, fs->ibuf, FILTER_BUFFER);
if (fs->i_end < 0)
-
break
;
+
return -1
;
if (fs->i_end)
continue;
}