Skip to content

Commit

Permalink
libs: Use define Z_BEST_COMPRESSION instead of hardcoded value.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Jan 2, 2016
1 parent 0d3da87 commit bcdc04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/binflate.c
Expand Up @@ -44,7 +44,7 @@ int Zdeflate(char *in, int in_len, char *out, int &out_len)
strm.zalloc = Z_NULL;
strm.zfree = Z_NULL;
strm.opaque = Z_NULL;
ret = deflateInit(&strm, 9);
ret = deflateInit(&strm, Z_BEST_COMPRESSION);
if (ret != Z_OK) {
Dmsg0(200, "deflateInit error\n");
(void)deflateEnd(&strm);
Expand Down

0 comments on commit bcdc04a

Please sign in to comment.