Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
daemon: add upload-tar service.
[gitweb.git]
/
sha1_file.c
diff --git
a/sha1_file.c
b/sha1_file.c
index dd9bcaabd0ea1a8c279f3da9297a53de9a8fc4cc..46272b591645e444396ae683673620594f336a7c 100644
(file)
--- a/
sha1_file.c
+++ b/
sha1_file.c
@@
-1740,7
+1740,7
@@
int read_pipe(int fd, char** return_buf, unsigned long* return_size)
off += iret;
if (off == size) {
size *= 2;
- buf = realloc(buf, size);
+ buf =
x
realloc(buf, size);
}
}
} while (iret > 0);