smbtorture: Use NT_STATUS_PENDING instead of STATUS_PENDING
authorChristof Schmitt <cs@samba.org>
Fri, 19 Jun 2020 19:56:56 +0000 (12:56 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 22 Jun 2020 12:07:38 +0000 (12:07 +0000)
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/torture/smb2/notify.c

index 3ed4f1850ddb881500ce9e05e7bafa222902eaca..b65c116b75e4a102d4f0538865d15d34514b6259 100644 (file)
@@ -2564,7 +2564,7 @@ static bool torture_smb2_inotify_rename(struct torture_context *torture,
        req = smb2_notify_send(tree1, &notify);
        torture_assert_not_null_goto(torture, req, ok, done, "smb2_notify_send failed\n");
 
-       while (!NT_STATUS_EQUAL(req->status, STATUS_PENDING)) {
+       while (!NT_STATUS_EQUAL(req->status, NT_STATUS_PENDING)) {
                if (tevent_loop_once(torture->ev) != 0) {
                        goto done;
                }