diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-04-02 22:46:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:23 -0500 |
commit | 934f11cb97fdfa47b49f5d6d084d79895ee406cb (patch) | |
tree | 1fa671bc05f95774c0c17e629d1561d5a9ee36d3 /source4/librpc | |
parent | 3b8c824c16a7649057c87fd33ac17d496976bdfb (diff) | |
download | samba-934f11cb97fdfa47b49f5d6d084d79895ee406cb.tar.gz samba-934f11cb97fdfa47b49f5d6d084d79895ee406cb.tar.bz2 samba-934f11cb97fdfa47b49f5d6d084d79895ee406cb.zip |
r6181: Use ndr_print_set_switch_value() here as well.
(This used to be commit 4da9d1d5c277eb65d0fe5bf5c4690531dcfb85de)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/ndr/ndr_spoolss_buf.c | 3 |
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 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);\ }\ }\ |