summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-07-03 14:08:05 +0200
committerGünther Deschner <gd@samba.org>2009-07-03 22:05:29 +0200
commitc5415e7e09d40518e20fe12f6f9ad88e4da8369e (patch)
tree94fcc553ffbd460c7a9a02bb59521afd0465b088 /librpc/gen_ndr
parentbee0421f4c8017a86d00392c0efe45d2009a71f9 (diff)
downloadsamba-c5415e7e09d40518e20fe12f6f9ad88e4da8369e.tar.gz
samba-c5415e7e09d40518e20fe12f6f9ad88e4da8369e.tar.bz2
samba-c5415e7e09d40518e20fe12f6f9ad88e4da8369e.zip
spoolss: the flags in spoolss_SetPrinterInfo1 are in fact spoolss_PrinterAttributes.
Guenther
Diffstat (limited to 'librpc/gen_ndr')
-rw-r--r--librpc/gen_ndr/ndr_spoolss.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/librpc/gen_ndr/ndr_spoolss.c b/librpc/gen_ndr/ndr_spoolss.c
index d7d5e354a2..b5df8d33af 100644
--- a/librpc/gen_ndr/ndr_spoolss.c
+++ b/librpc/gen_ndr/ndr_spoolss.c
@@ -5959,7 +5959,7 @@ static enum ndr_err_code ndr_push_spoolss_SetPrinterInfo1(struct ndr_push *ndr,
{
if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_spoolss_EnumPrinterFlags(ndr, NDR_SCALARS, r->flags));
+ NDR_CHECK(ndr_push_spoolss_PrinterAttributes(ndr, NDR_SCALARS, r->flags));
NDR_CHECK(ndr_push_unique_ptr(ndr, r->description));
NDR_CHECK(ndr_push_unique_ptr(ndr, r->name));
NDR_CHECK(ndr_push_unique_ptr(ndr, r->comment));
@@ -5997,7 +5997,7 @@ static enum ndr_err_code ndr_pull_spoolss_SetPrinterInfo1(struct ndr_pull *ndr,
TALLOC_CTX *_mem_save_comment_0;
if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_spoolss_EnumPrinterFlags(ndr, NDR_SCALARS, &r->flags));
+ NDR_CHECK(ndr_pull_spoolss_PrinterAttributes(ndr, NDR_SCALARS, &r->flags));
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_description));
if (_ptr_description) {
NDR_PULL_ALLOC(ndr, r->description);
@@ -6062,7 +6062,7 @@ _PUBLIC_ void ndr_print_spoolss_SetPrinterInfo1(struct ndr_print *ndr, const cha
{
ndr_print_struct(ndr, name, "spoolss_SetPrinterInfo1");
ndr->depth++;
- ndr_print_spoolss_EnumPrinterFlags(ndr, "flags", r->flags);
+ ndr_print_spoolss_PrinterAttributes(ndr, "flags", r->flags);
ndr_print_ptr(ndr, "description", r->description);
ndr->depth++;
if (r->description) {