From 934f11cb97fdfa47b49f5d6d084d79895ee406cb Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 2 Apr 2005 22:46:21 +0000 Subject: r6181: Use ndr_print_set_switch_value() here as well. (This used to be commit 4da9d1d5c277eb65d0fe5bf5c4690531dcfb85de) --- source4/librpc/ndr/ndr_spoolss_buf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/librpc/ndr/ndr_spoolss_buf.c b/source4/librpc/ndr/ndr_spoolss_buf.c index 4da604b187..2bc55db758 100644 --- a/source4/librpc/ndr/ndr_spoolss_buf.c +++ b/source4/librpc/ndr/ndr_spoolss_buf.c @@ -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);\ }\ }\ -- cgit