summaryrefslogtreecommitdiff
path: root/librpc/ndr
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-02-18 15:17:42 +0100
committerStefan Metzmacher <metze@samba.org>2010-02-18 15:47:57 +0100
commit2059a165ee6f4d231aa4075d8ddea70b8df8944f (patch)
tree499ae9a4dc4c9e6615125a95b02d688a46353c7b /librpc/ndr
parenta4c3aeb79306190b09e284a6a28e3b40fbc5823b (diff)
downloadsamba-2059a165ee6f4d231aa4075d8ddea70b8df8944f.tar.gz
samba-2059a165ee6f4d231aa4075d8ddea70b8df8944f.tar.bz2
samba-2059a165ee6f4d231aa4075d8ddea70b8df8944f.zip
ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_*
metze
Diffstat (limited to 'librpc/ndr')
-rw-r--r--librpc/ndr/ndr_spoolss_buf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/librpc/ndr/ndr_spoolss_buf.c b/librpc/ndr/ndr_spoolss_buf.c
index e41f9436b1..19e7737666 100644
--- a/librpc/ndr/ndr_spoolss_buf.c
+++ b/librpc/ndr/ndr_spoolss_buf.c
@@ -182,7 +182,7 @@
DATA_BLOB _data_blob_info;\
struct ndr_push *_ndr_info = ndr_push_init_ctx(mem_ctx, iconv_convenience);\
if (!_ndr_info) return 0;\
- _ndr_info->flags|=0;\
+ _ndr_info->flags|=LIBNDR_FLAG_NO_NDR_SIZE;\
__r.in.level = level;\
__r.in.count = count;\
__r.out.info = info;\
@@ -197,7 +197,7 @@
DATA_BLOB _data_blob_info;\
struct ndr_push *_ndr_info = ndr_push_init_ctx(mem_ctx, iconv_convenience);\
if (!_ndr_info) return 0;\
- _ndr_info->flags|=0;\
+ _ndr_info->flags|=LIBNDR_FLAG_NO_NDR_SIZE;\
__r.in.count = count;\
__r.out.info = info;\
_NDR_CHECK_UINT32(ndr_push___##fn(_ndr_info, NDR_OUT, &__r)); \