diff options
author | Tim Potter <tpot@samba.org> | 2002-04-10 07:21:03 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-04-10 07:21:03 +0000 |
commit | b99d3f27df6c8148ecb007473b1a4ba69ece9cf4 (patch) | |
tree | 1084dc4061f6e5d95eac7086507ef437180d5168 /source3 | |
parent | e8a8b04002e89e6a2c190258f145bd7f2600bd6f (diff) | |
download | samba-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)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_parse/parse_spoolss.c | 3 |
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; |