summaryrefslogtreecommitdiff
path: root/commit-tree.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2005-04-12 18:36:26 (GMT)
committerPetr Baudis <xpasky@machine>2005-04-13 09:35:04 (GMT)
commitaebb2679085d2ecc4d1c943ecfb2e87c699f00d0 (patch)
tree0ba51186089993112337d5b34a9ee23fe7cf4fdb /commit-tree.c
parent42d545e8ff33f478a4b7b99562ab073d8820b334 (diff)
downloadgit-aebb2679085d2ecc4d1c943ecfb2e87c699f00d0.zip
git-aebb2679085d2ecc4d1c943ecfb2e87c699f00d0.tar.gz
git-aebb2679085d2ecc4d1c943ecfb2e87c699f00d0.tar.bz2
[PATCH] Whitespace Fixes
Trivial whitespace fixes. From: Ingo Molnar <mingo@elte.hu> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Petr Baudis <pasky@ucw.cz>
Diffstat (limited to 'commit-tree.c')
-rw-r--r--commit-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit-tree.c b/commit-tree.c
index ef1f068..ac431fe 100644
--- a/commit-tree.c
+++ b/commit-tree.c
@@ -41,7 +41,7 @@ static void add_buffer(char **bufp, unsigned int *sizep, const char *fmt, ...)
alloc = (size + 32767) & ~32767;
buf = *bufp;
if (newsize > alloc) {
- alloc = (newsize + 32767) & ~32767;
+ alloc = (newsize + 32767) & ~32767;
buf = realloc(buf, alloc);
*bufp = buf;
}