summaryrefslogtreecommitdiff
path: root/librpc/tools
diff options
context:
space:
mode:
Diffstat (limited to 'librpc/tools')
-rw-r--r--librpc/tools/ndrdump.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/librpc/tools/ndrdump.c b/librpc/tools/ndrdump.c
index e33115ded8..91bf06fcd9 100644
--- a/librpc/tools/ndrdump.c
+++ b/librpc/tools/ndrdump.c
@@ -125,14 +125,9 @@ static const struct ndr_interface_table *load_iface_from_plugin(const char *plug
return p;
}
-static void printf_cb(const char *buf, void *private_data)
-{
- printf("%s", buf);
-}
-
static void ndrdump_data(uint8_t *d, uint32_t l, bool force)
{
- dump_data_cb(d, l, !force, printf_cb, NULL);
+ dump_data_file(d, l, !force, stdout);
}
static NTSTATUS ndrdump_pull_and_print_pipes(const char *function,