Author: tpot Date: 2005-08-12 22:55:53 +0000 (Fri, 12 Aug 2005) New Revision: 9279
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9279 Log: 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. Modified: branches/SAMBA_4_0/source/build/pidl/Parse/Pidl/Samba/NDR/Server.pm Changeset: Modified: branches/SAMBA_4_0/source/build/pidl/Parse/Pidl/Samba/NDR/Server.pm =================================================================== --- branches/SAMBA_4_0/source/build/pidl/Parse/Pidl/Samba/NDR/Server.pm 2005-08-12 21:45:58 UTC (rev 9278) +++ branches/SAMBA_4_0/source/build/pidl/Parse/Pidl/Samba/NDR/Server.pm 2005-08-12 22:55:53 UTC (rev 9279) @@ -27,7 +27,7 @@ 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 @@ 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";
