aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pidl/tests/ndr_fullptr.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pidl/tests/ndr_fullptr.pl')
-rwxr-xr-xtools/pidl/tests/ndr_fullptr.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pidl/tests/ndr_fullptr.pl b/tools/pidl/tests/ndr_fullptr.pl
index 482edcf030..2188905b13 100755
--- a/tools/pidl/tests/ndr_fullptr.pl
+++ b/tools/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;
}