summaryrefslogtreecommitdiff
path: root/source3
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
commitfea97ecd7c00022b59982a078add89a1a7e1d377 (patch)
tree280328073da64a2fc8ba717121ac1a00b260e6fa /source3
parentc517caf30566ee6bb1eb5e4abe7d622187c7414d (diff)
downloadsamba-fea97ecd7c00022b59982a078add89a1a7e1d377.tar.gz
samba-fea97ecd7c00022b59982a078add89a1a7e1d377.tar.bz2
samba-fea97ecd7c00022b59982a078add89a1a7e1d377.zip
spoolss_io_devmode private data is binary and should be shown in hex,
not ascii. (This used to be commit be5d32eb9c58bb1911299d095efcf230d50ed590)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_parse/parse_spoolss.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index b86c595c64..5a13403fee 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/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;
}