git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a4c3aeb
)
ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_*
author
Stefan Metzmacher
<metze@samba.org>
Thu, 18 Feb 2010 14:17:42 +0000
(15:17 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 18 Feb 2010 14:47:57 +0000
(15:47 +0100)
metze
librpc/ndr/ndr_spoolss_buf.c
patch
|
blob
|
history
diff --git
a/librpc/ndr/ndr_spoolss_buf.c
b/librpc/ndr/ndr_spoolss_buf.c
index e41f9436b1ec4297606df91385248a910971622a..19e7737666b8ff692136378c7d03cdfdb4678323 100644
(file)
--- 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;\
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;\
__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;\
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)); \
__r.in.count = count;\
__r.out.info = info;\
_NDR_CHECK_UINT32(ndr_push___##fn(_ndr_info, NDR_OUT, &__r)); \