summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-11-08 03:12:22 +0000
committerMartin Pool <mbp@samba.org>2001-11-08 03:12:22 +0000
commitbe5d32eb9c58bb1911299d095efcf230d50ed590 (patch)
treee3cf9979dc4481b5299ee772c373ecca7a1d635f /source
parentc339a99a891c9e4bbad59ee1243908c91f048834 (diff)
downloadsamba-be5d32eb9c58bb1911299d095efcf230d50ed590.tar.gz
samba-be5d32eb9c58bb1911299d095efcf230d50ed590.tar.xz
samba-be5d32eb9c58bb1911299d095efcf230d50ed590.zip
spoolss_io_devmode private data is binary and should be shown in hex,
not ascii.
Diffstat (limited to 'source')
-rw-r--r--source/rpc_parse/parse_spoolss.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/rpc_parse/parse_spoolss.c b/source/rpc_parse/parse_spoolss.c
index b86c595c646..5a13403fee5 100644
--- a/source/rpc_parse/parse_spoolss.c
+++ b/source/rpc_parse/parse_spoolss.c
@@ -633,7 +633,8 @@ BOOL spoolss_io_devmode(char *desc, prs_struct *ps, int depth, DEVICEMODE *devmo
}
DEBUG(7,("spoolss_io_devmode: parsing [%d] bytes of private\n",devmode->driverextra));
- if (!prs_uint8s(True, "private", ps, depth, devmode->private, devmode->driverextra))
+ if (!prs_uint8s(False, "private", ps, depth,
+ devmode->private, devmode->driverextra))
return False;
}