summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-04-10 07:21:03 +0000
committerTim Potter <tpot@samba.org>2002-04-10 07:21:03 +0000
commitb99d3f27df6c8148ecb007473b1a4ba69ece9cf4 (patch)
tree1084dc4061f6e5d95eac7086507ef437180d5168
parente8a8b04002e89e6a2c190258f145bd7f2600bd6f (diff)
downloadsamba-b99d3f27df6c8148ecb007473b1a4ba69ece9cf4.tar.gz
samba-b99d3f27df6c8148ecb007473b1a4ba69ece9cf4.tar.bz2
samba-b99d3f27df6c8148ecb007473b1a4ba69ece9cf4.zip
Fixed missing alignment in spoolss_io_q_enumjobs() function.
(This used to be commit e878cdc9f59084f39c022f2faa140369f76e94ec)
-rw-r--r--source3/rpc_parse/parse_spoolss.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index 6da0c5636c..a995375cfe 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -4007,6 +4007,9 @@ BOOL spoolss_io_q_enumjobs(char *desc, SPOOL_Q_ENUMJOBS *q_u, prs_struct *ps, in
if (!spoolss_io_buffer("", ps, depth, &q_u->buffer))
return False;
+ if(!prs_align(ps))
+ return False;
+
if (!prs_uint32("offered", ps, depth, &q_u->offered))
return False;