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

index 200a6e85d9a09a3a3bbc8f79b55e5db6747c8028..75e591d133241d1c78c89093a86aa359192ebc52 100644 (file)
@@ -348,7 +348,7 @@ static void smbd_smb2_notify_reply(struct smb_request *smbreq,
        if (!NT_STATUS_IS_OK(error_code)) {
                /* nothing */
        } else if (len == 0) {
-               state->status = STATUS_NOTIFY_ENUM_DIR;
+               state->status = NT_STATUS_NOTIFY_ENUM_DIR;
        } else {
                state->out_output_buffer = data_blob_talloc(state, buf, len);
                if (state->out_output_buffer.data == NULL) {