summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_compression.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-03-25 23:18:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:16 -0500
commit747eb74d2e68745bc817d6f5713915ae63137ee2 (patch)
tree4d114054e352130b3909b5bbea6264ed17770002 /source4/librpc/ndr/ndr_compression.c
parent5a9ceee7a524293c67d4c32edde9da32a877ecce (diff)
downloadsamba-747eb74d2e68745bc817d6f5713915ae63137ee2.tar.gz
samba-747eb74d2e68745bc817d6f5713915ae63137ee2.tar.bz2
samba-747eb74d2e68745bc817d6f5713915ae63137ee2.zip
r6065: revert test value
metze (This used to be commit fca4dc4827c98c02051165c1aedf5bdc5354bdda)
Diffstat (limited to 'source4/librpc/ndr/ndr_compression.c')
-rw-r--r--source4/librpc/ndr/ndr_compression.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/ndr/ndr_compression.c b/source4/librpc/ndr/ndr_compression.c
index d4f1a2a927..bcbe8e5650 100644
--- a/source4/librpc/ndr/ndr_compression.c
+++ b/source4/librpc/ndr/ndr_compression.c
@@ -50,7 +50,7 @@ static NTSTATUS ndr_pull_compression_zlib(struct ndr_pull *subndr,
zs.next_out = outbuf.data;
zs.avail_out = outbuf.length;
- ret = inflateInit2(&zs, 15);
+ ret = inflateInit2(&zs, -15);
if (ret != Z_OK) {
return ndr_pull_error(subndr, NDR_ERR_COMPRESSION, "Bad ZLIB (PULL) inflateInit2 error %d",
ret);