summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-06-02 06:27:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:25 -0500
commit180b269ac6fdf89cb4953089cf0f5f1e84f76166 (patch)
treef784b0b71e263915e28bd2775cccd8ffdb41892f /source4/librpc/ndr
parent2752b7cac21e9a49c571f2c2b5adb72db9ced7f7 (diff)
downloadsamba-180b269ac6fdf89cb4953089cf0f5f1e84f76166.tar.gz
samba-180b269ac6fdf89cb4953089cf0f5f1e84f76166.tar.bz2
samba-180b269ac6fdf89cb4953089cf0f5f1e84f76166.zip
r7194: fix pulling of the NDR_IN data, [validate] works for the NDR_IN side now...
metze (This used to be commit d2eb1a68447ff71adfc56c60d26753e12596a1a6)
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r--source4/librpc/ndr/ndr_spoolss_buf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/librpc/ndr/ndr_spoolss_buf.c b/source4/librpc/ndr/ndr_spoolss_buf.c
index 3e966176c3..c423eed4df 100644
--- a/source4/librpc/ndr/ndr_spoolss_buf.c
+++ b/source4/librpc/ndr/ndr_spoolss_buf.c
@@ -102,8 +102,9 @@
#define NDR_SPOOLSS_PULL_ENUM(fn,in,out) do { \
struct _##fn _r;\
if (flags & NDR_IN) {\
- in;\
+ out;\
NDR_SPOOLSS_PULL_ENUM_IN(fn);\
+ in;\
}\
if (flags & NDR_OUT) {\
out;\