summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse
diff options
context:
space:
mode:
Diffstat (limited to 'pidl/lib/Parse')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm b/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
index 958f215a2e..0cd9803208 100644
--- a/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
@@ -79,15 +79,16 @@ sub ParseFunctionSync($$$)
my ($interface, $fn, $name) = @_;
my $uname = uc $name;
+ if (has_property($fn, "todo")) {
+ return;
+ }
+
my $proto = "NTSTATUS dcerpc_$name(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct $name *r)";
$res_hdr .= "\n$proto;\n";
$res .= "$proto\n{\n";
- if (has_property($fn, "todo")) {
- $res .= "\treturn NT_STATUS_NOT_IMPLEMENTED;\n";
- } else {
- $res .= "
+ $res .= "
NTSTATUS status;
if (p->conn->flags & DCERPC_DEBUG_PRINT_IN) {
@@ -109,7 +110,6 @@ sub ParseFunctionSync($$$)
"
return status;
";
- }
$res .= "}\n\n";
}