summaryrefslogtreecommitdiff
path: root/source4/build/pidl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl')
-rw-r--r--source4/build/pidl/client.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/client.pm b/source4/build/pidl/client.pm
index b3afb2573a..6944b26747 100644
--- a/source4/build/pidl/client.pm
+++ b/source4/build/pidl/client.pm
@@ -17,7 +17,7 @@ sub ParseFunction($)
my $name = $fn->{NAME};
my $uname = uc $name;
- if ($fn->{RETURN_TYPE} eq "void") {
+ if ($fn->{RETURN_TYPE} ne "NTSTATUS") {
$res .= "
NTSTATUS dcerpc_$name(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct $name *r)
{