1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

handle non-NTSTATUS return types

This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 060421c7dc
commit 5832a1447c

View File

@ -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)
{