summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-12-20 01:27:22 +0000
committerTim Potter <tpot@samba.org>2002-12-20 01:27:22 +0000
commit48461eb42a3435a552c06a01561a78299ade8660 (patch)
tree2e80476b88a215db90537fd0c3775cb2bc7314aa
parentf1fc17ea37e41cca3aacffaac43e6b8c39e95d58 (diff)
downloadsamba-48461eb42a3435a552c06a01561a78299ade8660.tar.gz
samba-48461eb42a3435a552c06a01561a78299ade8660.tar.bz2
samba-48461eb42a3435a552c06a01561a78299ade8660.zip
Merge of comment about apparent spoolss_io_user_info weirdness.
(This used to be commit 872c152d35d5b7d1dc8a1d259c668f9bf42fc979)
-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))