diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-09-06 13:00:37 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-09-06 13:00:37 +0000 |
commit | f91fcb166107e45ffb3de95a3da65c79992341eb (patch) | |
tree | 042d2a90cd4773b2d4e5484f127f0964808af802 /source/include/sam.h | |
parent | e13bc432628a6131be082caedc75cd8a3d206e5a (diff) | |
download | samba-f91fcb166107e45ffb3de95a3da65c79992341eb.tar.gz samba-f91fcb166107e45ffb3de95a3da65c79992341eb.tar.xz samba-f91fcb166107e45ffb3de95a3da65c79992341eb.zip |
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.
Diffstat (limited to 'source/include/sam.h')
-rw-r--r-- | source/include/sam.h | 7 |
1 files changed, 5 insertions, 2 deletions
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 |