summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-12-13 04:41:59 +0000
committerTim Potter <tpot@samba.org>2002-12-13 04:41:59 +0000
commit24678bf421f8f9a4cca6e8c5a20d4ed392a10120 (patch)
tree24cb5890b20fffba99f36d765b8e6bbbdd41dd1a /source3
parentf6c4f25e4319b47ac6c8dbf67a4b1c513148384c (diff)
downloadsamba-24678bf421f8f9a4cca6e8c5a20d4ed392a10120.tar.gz
samba-24678bf421f8f9a4cca6e8c5a20d4ed392a10120.tar.bz2
samba-24678bf421f8f9a4cca6e8c5a20d4ed392a10120.zip
Guy Harris points out that the level and ptr fields in a
SPOOL_USER_CTR look like they should be transposed. We don't make use of the user level information (what is it used for??) so I haven't changed any code, just added a comment. (This used to be commit bbb0b2ee40acfeb8cd91a55feb1db0c1e2d9ced5)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_parse/parse_spoolss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index b3f136f757..fb5c642824 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -615,6 +615,10 @@ static BOOL spool_io_user_level(char *desc, SPOOL_USER_CTR *q_u, prs_struct *ps,
if (!prs_align(ps))
return False;
+
+ /* From looking at many captures in ethereal, it looks like
+ the level and ptr fields should be transposed. -tpot */
+
if (!prs_uint32("level", ps, depth, &q_u->level))
return False;
if (!prs_uint32("ptr", ps, depth, &q_u->ptr))