r7194: fix pulling of the NDR_IN data, [validate] works for the NDR_IN side now...
authorStefan Metzmacher <metze@samba.org>
Thu, 2 Jun 2005 06:27:40 +0000 (06:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:17:25 +0000 (13:17 -0500)
metze
(This used to be commit d2eb1a68447ff71adfc56c60d26753e12596a1a6)

source4/librpc/ndr/ndr_spoolss_buf.c

index 3e966176c35addc30ce2e89b03e31c5b0d2b9b08..c423eed4df4f74dddf3c57a00e8a18390412fdad 100644 (file)
 #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;\