From 6e92505080fd6764461563e4fdf1172be1ba2963 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 29 Jun 2009 20:12:23 +1000 Subject: Fix ndrdump to use a common setup_logging() API By adding a new common setup_logging_stdout() API, we no longer need to abuse the ABI compatability between the different setup_logging() calls in Samba3 and Samba4's DEBUG() subsystems. The revert of 49a6d757b4d944cd22c91b2838beb83f04fbe1e9 works with this to fix bug 6211. Andrew Bartlett --- librpc/tools/ndrdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'librpc/tools') diff --git a/librpc/tools/ndrdump.c b/librpc/tools/ndrdump.c index 69b304dc9c..7126d26c59 100644 --- a/librpc/tools/ndrdump.c +++ b/librpc/tools/ndrdump.c @@ -179,7 +179,7 @@ static void ndrdump_data(uint8_t *d, uint32_t l, bool force) dbf = x_stderr; - setup_logging(argv[0], true); + setup_logging_stdout(); pc = poptGetContext("ndrdump", argc, argv, long_options, 0); -- cgit