]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmb: use more precise error status
authorJule Anger <janger@samba.org>
Fri, 6 Sep 2024 08:49:08 +0000 (10:49 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 1 Oct 2024 08:15:35 +0000 (08:15 +0000)
NO_MEMORY is the only possible error.

Pair-Programmed-With: Volker Lendecke <vl@samba.org>
Signed-off-by: Jule Anger <janger@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Oct  1 08:15:35 UTC 2024 on atb-devel-224

source3/libsmb/cli_smb2_fnum.c

index e65de62cd52e345ce57a6c2321004733340d29eb..b8c2e9a8acb5198c208aa6f765a17fa72cd70461 100644 (file)
@@ -3005,7 +3005,7 @@ NTSTATUS cli_smb2_query_mxac(struct cli_state *cli,
        TALLOC_CTX *frame = talloc_stackframe();
        struct tevent_context *ev = NULL;
        struct tevent_req *req = NULL;
-       NTSTATUS status = NT_STATUS_INTERNAL_ERROR;
+       NTSTATUS status = NT_STATUS_NO_MEMORY;
        bool ok;
 
        if (smbXcli_conn_has_async_calls(cli->conn)) {