summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-07-11 03:27:12 +0000
committerGerald Carter <jerry@samba.org>2002-07-11 03:27:12 +0000
commit0aadcff8ec1caa7e8a8cc9c5738bc8d57be7b24f (patch)
tree8ecd1f3c024b7045ef7c6175ac1426aac153e678 /source3/rpc_parse
parent496e85dd812b932caf5e6169e03df6b31a378966 (diff)
downloadsamba-0aadcff8ec1caa7e8a8cc9c5738bc8d57be7b24f.tar.gz
samba-0aadcff8ec1caa7e8a8cc9c5738bc8d57be7b24f.tar.bz2
samba-0aadcff8ec1caa7e8a8cc9c5738bc8d57be7b24f.zip
all that is left to do is to actually perform the
file deletion now. I have the file list. One more commit should do it. (This used to be commit 7207662504f585352b0ceeb99f8998ef58db7f15)
Diffstat (limited to 'source3/rpc_parse')
-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 c74249878a..b10a5c4377 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -1516,6 +1516,10 @@ BOOL spoolss_io_q_deleteprinterdriverex(char *desc, SPOOL_Q_DELETEPRINTERDRIVERE
return False;
if(!smb_io_unistr2("driver", &q_u->driver, True, ps, depth))
return False;
+
+ if (!prs_align(ps))
+ return False;
+
if(!prs_uint32("delete_flags ", ps, depth, &q_u->delete_flags))
return False;
if(!prs_uint32("version ", ps, depth, &q_u->version))