From 037b40f01f8ec42250b33de08680d4f6a06eac64 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 13 Dec 2001 17:18:15 +0000 Subject: merge from 2.2 (This used to be commit 5b4b3323a3fbabbb3c7db5eb3b11999bbde470b1) --- source3/rpc_parse/parse_spoolss.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit