git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b8c824
)
r6181: Use ndr_print_set_switch_value() here as well.
author
Jelmer Vernooij
<jelmer@samba.org>
Sat, 2 Apr 2005 22:46:21 +0000
(22:46 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:11:23 +0000
(13:11 -0500)
(This used to be commit
4da9d1d5c277eb65d0fe5bf5c4690531dcfb85de
)
source4/librpc/ndr/ndr_spoolss_buf.c
patch
|
blob
|
history
diff --git
a/source4/librpc/ndr/ndr_spoolss_buf.c
b/source4/librpc/ndr/ndr_spoolss_buf.c
index 4da604b18758a8ec09c6d03dabe3508ee170947a..2bc55db7588c2e12a21600fbe7cea77dfe6a9230 100644
(file)
--- 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);\
}\
}\