svn commit: samba r6181 - in branches/SAMBA_4_0/source/librpc/ndr: .
jelmer at samba.org
jelmer at samba.org
Sat Apr 2 22:46:21 GMT 2005
Author: jelmer
Date: 2005-04-02 22:46:21 +0000 (Sat, 02 Apr 2005)
New Revision: 6181
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6181
Log:
Use ndr_print_set_switch_value() here as well.
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-04-02 20:57:27 UTC (rev 6180)
+++ branches/SAMBA_4_0/source/librpc/ndr/ndr_spoolss_buf.c 2005-04-02 22:46:21 UTC (rev 6181)
@@ -114,7 +114,8 @@
char *idx=NULL;\
asprintf(&idx, "[%d]", i);\
if (idx) {\
- ndr_print_##type(ndr, idx, r->in.level, &((*r->out.info)[i]));\
+ ndr_print_set_switch_value(ndr, &((*r->out.info)[i]), r->in.level); \
+ ndr_print_##type(ndr, idx, &((*r->out.info)[i]));\
free(idx);\
}\
}\
More information about the samba-cvs
mailing list