svn commit: samba r7194 - in branches/SAMBA_4_0/source/librpc/ndr: .

metze at samba.org metze at samba.org
Thu Jun 2 06:27:41 GMT 2005


Author: metze
Date: 2005-06-02 06:27:40 +0000 (Thu, 02 Jun 2005)
New Revision: 7194

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7194

Log:
fix pulling of the NDR_IN data, [validate] works for the NDR_IN side now...

metze
Modified:
   branches/SAMBA_4_0/source/librpc/ndr/ndr_spoolss_buf.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr_spoolss_buf.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/ndr/ndr_spoolss_buf.c	2005-06-02 06:25:48 UTC (rev 7193)
+++ branches/SAMBA_4_0/source/librpc/ndr/ndr_spoolss_buf.c	2005-06-02 06:27:40 UTC (rev 7194)
@@ -102,8 +102,9 @@
 #define NDR_SPOOLSS_PULL_ENUM(fn,in,out) do { \
 	struct _##fn _r;\
 	if (flags & NDR_IN) {\
+		out;\
+		NDR_SPOOLSS_PULL_ENUM_IN(fn);\
 		in;\
-		NDR_SPOOLSS_PULL_ENUM_IN(fn);\
 	}\
 	if (flags & NDR_OUT) {\
 		out;\



More information about the samba-cvs mailing list