summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-12-13 17:18:15 +0000
committerGerald Carter <jerry@samba.org>2001-12-13 17:18:15 +0000
commit037b40f01f8ec42250b33de08680d4f6a06eac64 (patch)
tree2f63d840caca713ea5fe3d1a07b14373c2406869 /source3/rpc_parse
parent4ad930ad5ea47e9f543fb55a844d1d74fb7912cc (diff)
downloadsamba-037b40f01f8ec42250b33de08680d4f6a06eac64.tar.gz
samba-037b40f01f8ec42250b33de08680d4f6a06eac64.tar.bz2
samba-037b40f01f8ec42250b33de08680d4f6a06eac64.zip
merge from 2.2
(This used to be commit 5b4b3323a3fbabbb3c7db5eb3b11999bbde470b1)
Diffstat (limited to 'source3/rpc_parse')
-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 b4d6343946..c2d462ad40 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -6316,6 +6316,9 @@ BOOL spoolss_io_r_enumprinterkey(char *desc, SPOOL_R_ENUMPRINTERKEY *r_u, prs_st
if (!smb_io_buffer5("", &r_u->keys, ps, depth))
return False;
+ if(!prs_align(ps))
+ return False;
+
if(!prs_uint32("needed", ps, depth, &r_u->needed))
return False;