summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-08-12 22:55:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:33:21 -0500
commit351e2099caa0019403afb4d591b2d6953e7a66e7 (patch)
treef658363b128e53f959142690d76a016fce2c0a0b /source4/build
parentefd0d2a0daba1e1bf8127aed9a55ddaa2891691d (diff)
downloadsamba-351e2099caa0019403afb4d591b2d6953e7a66e7.tar.gz
samba-351e2099caa0019403afb4d591b2d6953e7a66e7.tar.bz2
samba-351e2099caa0019403afb4d591b2d6953e7a66e7.zip
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)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/pidl/Parse/Pidl/Samba/NDR/Server.pm4
1 files 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";