diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-07 10:28:40 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-11-26 11:40:23 +0100 |
commit | b9f8527d8e143b2d8cf3a4c525382e9f86dc8e96 (patch) | |
tree | ce56a7bd821bd0dce5a173aaa5cc1f6c084df4df /pidl | |
parent | 8aca78d850035bb351e82eb95aea027cd79d2037 (diff) | |
download | samba-b9f8527d8e143b2d8cf3a4c525382e9f86dc8e96.tar.gz |
s3: Do the printing for DEBUGLEVEL>=10 centrally
12 insertions(+), 10651 deletions(-)
I think that says it all :-)
(cherry picked from commit 8a438cc8b7d3ebf082427f175e58af8b74994b03)
Diffstat (limited to 'pidl')
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm b/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm index e2fc54a77f4..3fc63a49991 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("}"); @@ -399,12 +385,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,"); $self->pidl("\t\t\t&ndr_table_$if,"); @@ -419,12 +399,6 @@ sub ParseFunctionSync($$$) $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; $self->pidl("return status;"); |