diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-11-09 19:23:25 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:44:54 +0100 |
commit | 3e1fb13024eec442bfdd0335bc03689f64d50c0e (patch) | |
tree | 52b0b4f2822de47bf56453b70947dcf40ae7f3cc /source4/pidl/tests/ndr_simple.pl | |
parent | 3953335420f95c7ac60cd2cbfde7427a6d5b0922 (diff) | |
download | samba-3e1fb13024eec442bfdd0335bc03689f64d50c0e.tar.gz samba-3e1fb13024eec442bfdd0335bc03689f64d50c0e.tar.bz2 samba-3e1fb13024eec442bfdd0335bc03689f64d50c0e.zip |
r25915: ndr/pidl: change NTSTAUS into enum ndr_err_code (pidl code)
Samba4/NDR/Parser.pm
Samba4/NDR/Server.pm
Samba3/ServerNDR.pm
tests/
metze
(This used to be commit 7106f21de8dfc472aa0846b49bfdb7543c63b310)
Diffstat (limited to 'source4/pidl/tests/ndr_simple.pl')
-rwxr-xr-x | source4/pidl/tests/ndr_simple.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/tests/ndr_simple.pl b/source4/pidl/tests/ndr_simple.pl index 466a164df4..e5e4197a4f 100755 --- a/source4/pidl/tests/ndr_simple.pl +++ b/source4/pidl/tests/ndr_simple.pl @@ -20,7 +20,7 @@ test_samba4_ndr("simple", "void Test(); ", b.length = 1; ndr = ndr_pull_init_blob(&b, mem_ctx); - if (!NT_STATUS_IS_OK(ndr_pull_uint8(ndr, NDR_SCALARS, &result))) + if (!NDR_ERR_CODE_IS_SUCCESS(ndr_pull_uint8(ndr, NDR_SCALARS, &result))) return 1; if (result != 0x02) |