summaryrefslogtreecommitdiff
path: root/source3/librpc/ndr/ndr_compression.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-12 19:05:46 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-12 19:05:46 +0200
commit9f2ed1e00f586a67ab2d8c1f4770a570e6ae9740 (patch)
tree4436882b9f95831aa231a1ecde6e40a8a31c682d /source3/librpc/ndr/ndr_compression.c
parentedff62a31ebe818c62de21878359be8477d77a2f (diff)
downloadsamba-9f2ed1e00f586a67ab2d8c1f4770a570e6ae9740.tar.gz
samba-9f2ed1e00f586a67ab2d8c1f4770a570e6ae9740.tar.bz2
samba-9f2ed1e00f586a67ab2d8c1f4770a570e6ae9740.zip
Share RPC binding string utility functions.
Diffstat (limited to 'source3/librpc/ndr/ndr_compression.c')
-rw-r--r--source3/librpc/ndr/ndr_compression.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/librpc/ndr/ndr_compression.c b/source3/librpc/ndr/ndr_compression.c
index c1eae0bb00..0784204a72 100644
--- a/source3/librpc/ndr/ndr_compression.c
+++ b/source3/librpc/ndr/ndr_compression.c
@@ -86,7 +86,7 @@ static enum ndr_err_code ndr_pull_compression_mszip(struct ndr_pull *subndr,
struct decomp_state *decomp_state;
bool last = false;
- ndrpush = ndr_push_init_ctx(subndr);
+ ndrpush = ndr_push_init_ctx(subndr, NULL);
NDR_ERR_HAVE_NO_MEMORY(ndrpush);
decomp_state = ZIPdecomp_state(subndr);
@@ -197,7 +197,7 @@ static enum ndr_err_code ndr_pull_compression_xpress(struct ndr_pull *subndr,
DATA_BLOB uncompressed;
bool last = false;
- ndrpush = ndr_push_init_ctx(subndr);
+ ndrpush = ndr_push_init_ctx(subndr, NULL);
NDR_ERR_HAVE_NO_MEMORY(ndrpush);
while (!last) {
@@ -264,7 +264,7 @@ enum ndr_err_code ndr_push_compression_start(struct ndr_push *subndr,
{
struct ndr_push *comndr;
- comndr = ndr_push_init_ctx(subndr);
+ comndr = ndr_push_init_ctx(subndr, NULL);
NDR_ERR_HAVE_NO_MEMORY(comndr);
comndr->flags = subndr->flags;