summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-07 10:28:40 +0100
committerVolker Lendecke <vl@samba.org>2009-11-07 11:07:37 +0100
commit5cdee7ae0565c08026b8845cd3090b20d8abc472 (patch)
treeee58c10311c9996d7116a74f4260525e891568f0 /pidl/lib/Parse/Pidl
parent843be3bcd9b07ba937944aee206bd4ecdfd65504 (diff)
downloadsamba-5cdee7ae0565c08026b8845cd3090b20d8abc472.tar.gz
samba-5cdee7ae0565c08026b8845cd3090b20d8abc472.tar.bz2
samba-5cdee7ae0565c08026b8845cd3090b20d8abc472.zip
s3: Do the printing for DEBUGLEVEL>=10 centrally
12 insertions(+), 10651 deletions(-) I think that says it all :-)
Diffstat (limited to 'pidl/lib/Parse/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 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("}");
@@ -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;");