From 351e2099caa0019403afb4d591b2d6953e7a66e7 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 12 Aug 2005 22:55:53 +0000 Subject: r9279: In Samba3 debuglevel 10 used to print RPC debugs. I think this should apply to Samba4 as well so change the DEBUGLEVEL > 10 to DEBUGLEVEL >= 10. (This used to be commit 2215cc08b7b94df3fff9cfff6c839bbf2cb6e664) --- source4/build/pidl/Parse/Pidl/Samba/NDR/Server.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/build/pidl/Parse/Pidl/Samba/NDR/Server.pm b/source4/build/pidl/Parse/Pidl/Samba/NDR/Server.pm index 1d63ea0cd1..a8c159572b 100644 --- a/source4/build/pidl/Parse/Pidl/Samba/NDR/Server.pm +++ b/source4/build/pidl/Parse/Pidl/Samba/NDR/Server.pm @@ -27,7 +27,7 @@ sub gen_dispatch_switch($) pidl "\tcase $fn->{OPNUM}: {\n"; pidl "\t\tstruct $fn->{NAME} *r2 = r;\n"; - pidl "\t\tif (DEBUGLEVEL > 10) {\n"; + pidl "\t\tif (DEBUGLEVEL >= 10) {\n"; pidl "\t\t\tNDR_PRINT_FUNCTION_DEBUG($fn->{NAME}, NDR_IN, r2);\n"; pidl "\t\t}\n"; if ($fn->{RETURN_TYPE} && $fn->{RETURN_TYPE} ne "void") { @@ -56,7 +56,7 @@ sub gen_reply_switch($) pidl "\t\tif (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {\n"; pidl "\t\t\tDEBUG(5,(\"function $fn->{NAME} replied async\\n\"));\n"; pidl "\t\t}\n"; - pidl "\t\tif (DEBUGLEVEL > 10 && dce_call->fault_code == 0) {\n"; + pidl "\t\tif (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {\n"; pidl "\t\t\tNDR_PRINT_FUNCTION_DEBUG($fn->{NAME}, NDR_OUT | NDR_SET_VALUES, r2);\n"; pidl "\t\t}\n"; pidl "\t\tif (dce_call->fault_code != 0) {\n"; -- cgit