Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Make pprint_tag void and cleans up call in cmd_cat_file.
[gitweb.git]
/
csum-file.c
diff --git
a/csum-file.c
b/csum-file.c
index ebaad0397f0bce50db7542abb904ba42b6173344..6a7b40fd09ea9aa365d70dc8019f83e481192c07 100644
(file)
--- a/
csum-file.c
+++ b/
csum-file.c
@@
-122,7
+122,7
@@
int sha1write_compressed(struct sha1file *f, void *in, unsigned int size)
void *out;
memset(&stream, 0, sizeof(stream));
- deflateInit(&stream,
Z_DEFAULT_COMPRESSION
);
+ deflateInit(&stream,
zlib_compression_level
);
maxsize = deflateBound(&stream, size);
out = xmalloc(maxsize);