summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_spoolss_buf.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-03-28 18:23:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:19 -0500
commit3b05dae2009ef48491f012fa09b403102c92cb06 (patch)
tree80f952c74ff1e26074988693efb6743ceb0b7b20 /source4/librpc/ndr/ndr_spoolss_buf.c
parentd4886d20dbea9f49381fad01c3e68280d1f666c1 (diff)
downloadsamba-3b05dae2009ef48491f012fa09b403102c92cb06.tar.gz
samba-3b05dae2009ef48491f012fa09b403102c92cb06.tar.bz2
samba-3b05dae2009ef48491f012fa09b403102c92cb06.zip
r6099: use the enum print function
metze (This used to be commit ff32e2182e3f11b1b51110c9d3f34bc8781dec0b)
Diffstat (limited to 'source4/librpc/ndr/ndr_spoolss_buf.c')
-rw-r--r--source4/librpc/ndr/ndr_spoolss_buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/ndr/ndr_spoolss_buf.c b/source4/librpc/ndr/ndr_spoolss_buf.c
index 4b1483709a..ecb8f374c6 100644
--- a/source4/librpc/ndr/ndr_spoolss_buf.c
+++ b/source4/librpc/ndr/ndr_spoolss_buf.c
@@ -226,7 +226,7 @@ void ndr_print_spoolss_EnumPrinters(struct ndr_print *ndr, const char *name, int
if (flags & NDR_IN) {
ndr_print_struct(ndr, "in", "spoolss_EnumPrinters");
ndr->depth++;
- ndr_print_uint32(ndr, "flags", r->in.flags);
+ ndr_print_spoolss_EnumPrinterFlags(ndr, "flags", r->in.flags);
ndr_print_ptr(ndr, "server", r->in.server);
ndr->depth++;
if (r->in.server) {