]> git.ipfire.org Git - thirdparty/samba.git/commit
smbtorture: rename CHECK_VALUE() to CHECK_VAL() in smb2/compound.c
authorRalph Boehme <slow@samba.org>
Thu, 17 Oct 2024 15:44:13 +0000 (17:44 +0200)
committerJule Anger <janger@samba.org>
Mon, 9 Dec 2024 08:36:19 +0000 (08:36 +0000)
commit6c4a0272e70db075943732f7caf750d08c45b9de
tree9f6544910aa372322c0dec9951b384d9b3a6f8a1
parent622bcc55181d4a57266aa659c479ae2e494d6a93
smbtorture: rename CHECK_VALUE() to CHECK_VAL() in smb2/compound.c

Prepares for using macros from lease_break_handler.h which makes use of
CHECK_VAL() while relying on a definition of CHECK_VAL() in the .c file.

While at it, add a goto done which is always a good thing to get clear failures
from tests.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15697

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 4932b433ff2f1c4e603073624a5d22140acfb2ed)
source4/torture/smb2/compound.c