Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Makefile: allow generating git.o for debugging purposes
[gitweb.git]
/
builtin-bundle.c
diff --git
a/builtin-bundle.c
b/builtin-bundle.c
index d1635a0a6b009ecb6706084828abd0e3928f2b8d..306ad29597dbf9002a44ba509c2e9d7a737b159d 100644
(file)
--- a/
builtin-bundle.c
+++ b/
builtin-bundle.c
@@
-48,7
+48,7
@@
static int read_string(int fd, char *buffer, int size)
{
int i;
for (i = 0; i < size - 1; i++) {
-
in
t count = xread(fd, buffer + i, 1);
+
ssize_
t count = xread(fd, buffer + i, 1);
if (count < 0)
return error("Read error: %s", strerror(errno));
if (count == 0) {