[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Wed Sep 2 08:15:02 UTC 2026


The branch, master has been updated
       via  5012cc95a3d s3:utils: fix wrong deregister in do_profilelevel()
      from  000b0788749 s4:nbench: Fix whitespace issues in nbio.c

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 5012cc95a3d0255588ef226bf807f1fc0278e09c
Author: Shachar Sharon <ssharon at redhat.com>
Date:   Tue Sep 1 19:19:06 2026 +0300

    s3:utils: fix wrong deregister in do_profilelevel()
    
    MSG_PROFILE was never registered in this function. Deregister the two
    message types that were actually registered: MSG_PROFILELEVEL and
    MSG_REQ_PROFILELEVEL.
    
    Signed-off-by: Shachar Sharon <ssharon at redhat.com>
    Reviewed-by: Anoop C S <anoopcs at samba.org>
    Reviewed-by: Volker Lendecke <vl at samba.org>
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Wed Sep  2 08:14:45 UTC 2026 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 source3/utils/smbcontrol.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 4660dead695..a4a5bb15c2f 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -610,7 +610,8 @@ static bool do_profilelevel(struct tevent_context *ev_ctx,
 	if (num_replies == 0)
 		printf("No replies received\n");
 
-	messaging_deregister(msg_ctx, MSG_PROFILE, NULL);
+	messaging_deregister(msg_ctx, MSG_PROFILELEVEL, NULL);
+	messaging_deregister(msg_ctx, MSG_REQ_PROFILELEVEL, NULL);
 
 	return num_replies;
 }


-- 
Samba Shared Repository



More information about the samba-cvs mailing list