git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ec74a3
)
librpc/ndr: Use MAX_WBITS zlib define and change memLevel in MSZIP code
author
Günther Deschner
<gd@samba.org>
Tue, 23 May 2017 13:48:42 +0000
(15:48 +0200)
committer
Jeremy Allison
<jra@samba.org>
Wed, 19 Jul 2017 19:22:13 +0000
(21:22 +0200)
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
librpc/ndr/ndr_compression.c
patch
|
blob
|
history
diff --git
a/librpc/ndr/ndr_compression.c
b/librpc/ndr/ndr_compression.c
index b0408d58a15592016cbb93025b2154e0d8ef0cd1..41328ea499cfa75541f644d991dd45d5232ff079 100644
(file)
--- a/
librpc/ndr/ndr_compression.c
+++ b/
librpc/ndr/ndr_compression.c
@@
-221,8
+221,8
@@
static enum ndr_err_code ndr_push_compression_mszip_chunk(struct ndr_push *ndrpu
z_ret = deflateInit2(z,
Z_DEFAULT_COMPRESSION,
Z_DEFLATED,
- -
15
,
- 9,
+ -
MAX_WBITS
,
+ 8, /* memLevel */
Z_DEFAULT_STRATEGY);
if (z_ret != Z_OK) {
return ndr_push_error(ndrpush, NDR_ERR_COMPRESSION,