From daa6a28c04459a7477714ee3cd7b336079b21537 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 15 Jun 2004 03:51:04 +0000 Subject: r1149: fixed the handling of NDR_SET_VALUES in the debug print of rpc structures in the generated rpc server code (This used to be commit 60838a0f94ef2b2f27a6f1b3c413481e94c69602) --- source4/build/pidl/server.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/build/pidl/server.pm b/source4/build/pidl/server.pm index 72ebc22379..2c590ea642 100644 --- a/source4/build/pidl/server.pm +++ b/source4/build/pidl/server.pm @@ -29,7 +29,7 @@ sub gen_dispatch_switch($) pidl "\tcase $count: {\n"; pidl "\t\tstruct $d->{NAME} *r2 = r;\n"; pidl "\t\tif (DEBUGLEVEL > 10) {\n"; - pidl "\t\t\tNDR_PRINT_IN_DEBUG($d->{NAME}, r2);\n"; + pidl "\t\t\tNDR_PRINT_FUNCTION_DEBUG($d->{NAME}, NDR_IN, r2);\n"; pidl "\t\t}\n"; if ($d->{RETURN_TYPE} && $d->{RETURN_TYPE} ne "void") { pidl "\t\tr2->out.result = $d->{NAME}(dce_call, mem_ctx, r2);\n"; @@ -37,7 +37,7 @@ sub gen_dispatch_switch($) pidl "\t\t$d->{NAME}(dce_call, mem_ctx, r2);\n"; } pidl "\t\tif (DEBUGLEVEL > 10 && dce_call->fault_code == 0) {\n"; - pidl "\t\t\tNDR_PRINT_OUT_DEBUG($d->{NAME}, r2);\n"; + pidl "\t\t\tNDR_PRINT_FUNCTION_DEBUG($d->{NAME}, NDR_OUT | NDR_SET_VALUES, r2);\n"; pidl "\t\t}\n"; pidl "\t\tif (dce_call->fault_code != 0) {\n"; pidl "\t\t\tDEBUG(2,(\"dcerpc_fault 0x%x in $d->{NAME}\\n\", dce_call->fault_code));\n"; -- cgit