From 25a6e1c8e75cdea9c7d4d72a6b7f50ca643a9505 Mon Sep 17 00:00:00 2001 From: Jule Anger Date: Fri, 6 Sep 2024 10:49:08 +0200 Subject: [PATCH] libsmb: use more precise error status NO_MEMORY is the only possible error. Pair-Programmed-With: Volker Lendecke Signed-off-by: Jule Anger Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Tue Oct 1 08:15:35 UTC 2024 on atb-devel-224 --- source3/libsmb/cli_smb2_fnum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/libsmb/cli_smb2_fnum.c b/source3/libsmb/cli_smb2_fnum.c index e65de62cd52..b8c2e9a8acb 100644 --- a/source3/libsmb/cli_smb2_fnum.c +++ b/source3/libsmb/cli_smb2_fnum.c @@ -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)) { -- 2.47.3