diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-06-15 03:51:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:41 -0500 |
commit | daa6a28c04459a7477714ee3cd7b336079b21537 (patch) | |
tree | c006e6ebcafb26c520edbab41b98c3b8942a4cda /source4 | |
parent | 0293c1859cdb530716d2d82938b37ded22420360 (diff) | |
download | samba-daa6a28c04459a7477714ee3cd7b336079b21537.tar.gz samba-daa6a28c04459a7477714ee3cd7b336079b21537.tar.bz2 samba-daa6a28c04459a7477714ee3cd7b336079b21537.zip |
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)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/build/pidl/server.pm | 4 |
1 files 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"; |