Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t4209: factor out helper function test_log()
[gitweb.git]
/
streaming.c
diff --git
a/streaming.c
b/streaming.c
index 9659f18be263a3412a2f3e5d13eb4f4bcd25cee3..d7c9f32f0ce98112ddd4d4a8499b227b181e09e6 100644
(file)
--- a/
streaming.c
+++ b/
streaming.c
@@
-538,7
+538,7
@@
int stream_blob_to_fd(int fd, unsigned const char *sha1, struct stream_filter *f
goto close_and_exit;
}
if (kept && (lseek(fd, kept - 1, SEEK_CUR) == (off_t) -1 ||
- write(fd, "", 1) != 1))
+
x
write(fd, "", 1) != 1))
goto close_and_exit;
result = 0;