ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_*
authorStefan Metzmacher <metze@samba.org>
Thu, 18 Feb 2010 14:17:42 +0000 (15:17 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 18 Feb 2010 14:47:57 +0000 (15:47 +0100)
metze

librpc/ndr/ndr_spoolss_buf.c

index e41f9436b1ec4297606df91385248a910971622a..19e7737666b8ff692136378c7d03cdfdb4678323 100644 (file)
        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;\
        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)); \