Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix linking for not-so-clever linkers.
[gitweb.git]
/
http-push.c
diff --git
a/http-push.c
b/http-push.c
index e281f70e544d1e59c47f61ce14a728ba5ef44a44..f761584d7edf25147b731405c2996478c7177935 100644
(file)
--- a/
http-push.c
+++ b/
http-push.c
@@
-492,7
+492,7
@@
static void start_put(struct transfer_request *request)
/* Set it up */
memset(&stream, 0, sizeof(stream));
- deflateInit(&stream,
Z_BEST_COMPRESSION
);
+ deflateInit(&stream,
zlib_compression_level
);
size = deflateBound(&stream, len + hdrlen);
request->buffer.buffer = xmalloc(size);