index 5a71489a471568fb3aa51af5d74fa269ec4fadf1..428ff786ebdbd48a47ae5faf4c65c01e38403ad4 100644 (file)
--- a/diff.c
+++ b/diff.c
z_stream stream;
memset(&stream, 0, sizeof(stream));
- deflateInit(&stream, Z_BEST_COMPRESSION);
+ deflateInit(&stream, zlib_compression_level);
bound = deflateBound(&stream, size);
deflated = xmalloc(bound);
stream.next_out = deflated;