summaryrefslogtreecommitdiff
path: root/source4/pidl/tests/ndr_fullptr.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/pidl/tests/ndr_fullptr.pl')
-rwxr-xr-xsource4/pidl/tests/ndr_fullptr.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/tests/ndr_fullptr.pl b/source4/pidl/tests/ndr_fullptr.pl
index 482edcf030..2188905b13 100755
--- a/source4/pidl/tests/ndr_fullptr.pl
+++ b/source4/pidl/tests/ndr_fullptr.pl
@@ -23,7 +23,7 @@ test_samba4_ndr("fullptr-push-dup",
r.in.x = &v;
r.in.y = &v;
- if (NT_STATUS_IS_ERR(ndr_push_echo_TestFull(ndr, NDR_IN, &r))) {
+ if (!NT_STATUS_IS_OK(ndr_push_echo_TestFull(ndr, NDR_IN, &r))) {
fprintf(stderr, "push failed\n");
return 1;
}