summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-17 02:57:04 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-17 02:57:04 +0000
commitff9558bdf99901793dad9182254164e1472e9cfe (patch)
tree9abcd4f2e81dd8d43614edeba700d5dff48aaaf9 /source4/build
parent657b4d2abdad5691fc37bafe819f75cc440354b9 (diff)
downloadsamba-ff9558bdf99901793dad9182254164e1472e9cfe.tar.gz
samba-ff9558bdf99901793dad9182254164e1472e9cfe.tar.bz2
samba-ff9558bdf99901793dad9182254164e1472e9cfe.zip
handle non-NTSTATUS return types
(This used to be commit 5832a1447c1d757a89d1f09324144132f9427cb1)
Diffstat (limited to 'source4/build')
-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)
{