]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbclient: Use NT_STATUS_NOTIFY_ENUM_DIR instead of STATUS_NOTIFY_ENUM_DIR
authorChristof Schmitt <cs@samba.org>
Fri, 19 Jun 2020 19:43:54 +0000 (12:43 -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>
source3/client/client.c

index d233becba22412e1374eef774e5b17db0530b4bf..f65293849d09185ea9bcf00e3fa531043a79f160 100644 (file)
@@ -4515,7 +4515,7 @@ static int cmd_notify(void)
                status = cli_notify(cli, fnum, 1000, FILE_NOTIFY_CHANGE_ALL,
                                    true,
                                    talloc_tos(), &num_changes, &changes);
-               if (NT_STATUS_EQUAL(status, STATUS_NOTIFY_ENUM_DIR)) {
+               if (NT_STATUS_EQUAL(status, NT_STATUS_NOTIFY_ENUM_DIR)) {
                        printf("NOTIFY_ENUM_DIR\n");
                        status = NT_STATUS_OK;
                }