From f91fcb166107e45ffb3de95a3da65c79992341eb Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 6 Sep 2002 13:00:37 +0000 Subject: Updates to sam_skel from metze, add sam/group.c and add a DEBUG() to the SAM_ASSERT if we are not going to crash. --- source/include/sam.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source/include/sam.h') diff --git a/source/include/sam.h b/source/include/sam.h index 53d56a2a807..afa7e55c659 100644 --- a/source/include/sam.h +++ b/source/include/sam.h @@ -30,8 +30,11 @@ #define SAM_ASSERT(x) SMB_ASSERT(x) #else #define SAM_ASSERT(x) while (0) { \ - if (!(x)) return NT_STATUS_FAIL_CHECK;\ - } + if (!(x)) { + DEBUG(0, ("SAM_ASSERT failed!\n")) + return NT_STATUS_FAIL_CHECK;\ + } \ + } #endif -- cgit