From 5cdee7ae0565c08026b8845cd3090b20d8abc472 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 7 Nov 2009 10:28:40 +0100 Subject: s3: Do the printing for DEBUGLEVEL>=10 centrally 12 insertions(+), 10651 deletions(-) I think that says it all :-) --- pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'pidl/lib/Parse/Pidl') diff --git a/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm b/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm index e2fc54a77f..3fc63a4999 100644 --- a/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm +++ b/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm @@ -207,13 +207,6 @@ sub ParseFunctionAsyncSend($$$) $self->pidl(""); } - $self->pidl("if (DEBUGLEVEL >= 10) {"); - $self->indent; - $self->pidl("NDR_PRINT_IN_DEBUG($fn->{NAME}, &state->orig);"); - $self->deindent; - $self->pidl("}"); - $self->pidl(""); - if ($out_params > 0) { $self->pidl("state->out_mem_ctx = talloc_named_const(state, 0,"); $self->pidl("\t\t \"$out_mem_ctx\");"); @@ -302,13 +295,6 @@ sub ParseFunctionAsyncDone($$$) $self->pidl("ZERO_STRUCT(state->tmp);"); $self->pidl(""); - $self->pidl("if (DEBUGLEVEL >= 10) {"); - $self->indent; - $self->pidl("NDR_PRINT_OUT_DEBUG($fn->{NAME}, &state->orig);"); - $self->deindent; - $self->pidl("}"); - $self->pidl(""); - $self->pidl("tevent_req_done(req);"); $self->deindent; $self->pidl("}"); @@ -398,12 +384,6 @@ sub ParseFunctionSync($$$) } } - $self->pidl(""); - $self->pidl("if (DEBUGLEVEL >= 10) {"); - $self->indent; - $self->pidl("NDR_PRINT_IN_DEBUG($fn->{NAME}, &r);"); - $self->deindent; - $self->pidl("}"); $self->pidl(""); $self->pidl("status = cli->dispatch(cli,"); $self->pidl("\t\t\tmem_ctx,"); @@ -418,12 +398,6 @@ sub ParseFunctionSync($$$) $self->deindent; $self->pidl("}"); - $self->pidl(""); - $self->pidl("if (DEBUGLEVEL >= 10) {"); - $self->indent; - $self->pidl("NDR_PRINT_OUT_DEBUG($fn->{NAME}, &r);"); - $self->deindent; - $self->pidl("}"); $self->pidl(""); $self->pidl("if (NT_STATUS_IS_ERR(status)) {"); $self->indent; -- cgit