From: Stefan Metzmacher Date: Thu, 18 Feb 2010 14:17:42 +0000 (+0100) Subject: ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_* X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=3174acb66089b649ec2b859c1ef673814c44ffa4;p=metze%2Fsamba%2Fwip.git ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_* metze (cherry picked from commit 2059a165ee6f4d231aa4075d8ddea70b8df8944f) --- diff --git a/librpc/ndr/ndr_spoolss_buf.c b/librpc/ndr/ndr_spoolss_buf.c index 80b661f84aa8..1a58ac15ebc4 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)); \