summaryrefslogtreecommitdiff
path: root/pidl
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-07 10:28:40 +0100
committerKarolin Seeger <kseeger@samba.org>2009-11-26 11:40:23 +0100
commitb9f8527d8e143b2d8cf3a4c525382e9f86dc8e96 (patch)
treece56a7bd821bd0dce5a173aaa5cc1f6c084df4df /pidl
parent8aca78d850035bb351e82eb95aea027cd79d2037 (diff)
downloadsamba-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.pm26
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;");