1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

smbclient: Use NT_STATUS_NOTIFY_ENUM_DIR instead of STATUS_NOTIFY_ENUM_DIR

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
Christof Schmitt 2020-06-19 12:43:54 -07:00 committed by Andreas Schneider
parent 0b72c41189
commit 3c90253a1e

View 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;
}