diff options
Diffstat (limited to 'source4/pidl/tests/ndr_string.pl')
-rwxr-xr-x | source4/pidl/tests/ndr_string.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/pidl/tests/ndr_string.pl b/source4/pidl/tests/ndr_string.pl index 4568ec89b8..834ef5a289 100755 --- a/source4/pidl/tests/ndr_string.pl +++ b/source4/pidl/tests/ndr_string.pl @@ -18,7 +18,7 @@ test_samba4_ndr("string-pull-empty", struct TestString r; r.in.data = NULL; - if (!NT_STATUS_IS_OK(ndr_pull_TestString(ndr, NDR_IN, &r))) + if (!NDR_ERR_CODE_IS_SUCCESS(ndr_pull_TestString(ndr, NDR_IN, &r))) return 1; if (r.in.data == NULL) @@ -40,7 +40,7 @@ test_samba4_ndr("string-ascii-pull", struct TestString r; r.in.data = NULL; - if (!NT_STATUS_IS_OK(ndr_pull_TestString(ndr, NDR_IN, &r))) + if (!NDR_ERR_CODE_IS_SUCCESS(ndr_pull_TestString(ndr, NDR_IN, &r))) return 1; if (r.in.data == NULL) @@ -69,7 +69,7 @@ test_samba4_ndr("string-out", char *str = NULL; r.out.data = &str; - if (!NT_STATUS_IS_OK(ndr_pull_TestString(ndr, NDR_IN, &r))) + if (!NDR_ERR_CODE_IS_SUCCESS(ndr_pull_TestString(ndr, NDR_IN, &r))) return 1; if (r.out.data == NULL) |