diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-13 22:46:23 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:50:00 +0100 |
commit | 61873ce94c172c801a4831de5550a8e0fe54c5f5 (patch) | |
tree | 1adef0ad4078d98bd8529be8219af84938886f65 /source4/librpc/tools/ndrdump.c | |
parent | a2cea02584256e2cf59da5420e8e080e70c66939 (diff) | |
download | samba-61873ce94c172c801a4831de5550a8e0fe54c5f5.tar.gz samba-61873ce94c172c801a4831de5550a8e0fe54c5f5.tar.xz samba-61873ce94c172c801a4831de5550a8e0fe54c5f5.zip |
r26431: Require ndr_push creators to specify a iconv_convenience context.
(This used to be commit 7352206f4450fdf881b95bda064cedd9d2477e4c)
Diffstat (limited to 'source4/librpc/tools/ndrdump.c')
-rw-r--r-- | source4/librpc/tools/ndrdump.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/librpc/tools/ndrdump.c b/source4/librpc/tools/ndrdump.c index a86b349aa96..7ee702fefb5 100644 --- a/source4/librpc/tools/ndrdump.c +++ b/source4/librpc/tools/ndrdump.c @@ -25,6 +25,7 @@ #include "system/locale.h" #include "librpc/ndr/libndr.h" #include "librpc/ndr/ndr_table.h" +#include "param/param.h" #endif static const struct ndr_interface_call *find_function( @@ -379,7 +380,7 @@ static void ndrdump_data(uint8_t *d, uint32_t l, bool force) uint8_t byte_a, byte_b; bool differ; - ndr_v_push = ndr_push_init_ctx(mem_ctx); + ndr_v_push = ndr_push_init_ctx(mem_ctx, lp_iconv_convenience(cmdline_lp_ctx)); ndr_err = f->ndr_push(ndr_v_push, flags, st); status = ndr_map_error2ntstatus(ndr_err); |