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 | 6c8e4faba19b78b8147ca9274ce65551ec27cba5 (patch) | |
tree | ab89c18b7947a67a4995838340c0f3d67da334c0 /source3/include/sam.h | |
parent | 68defac58da3f927cd8fb1405f3c648b7dec7f82 (diff) | |
download | samba-6c8e4faba19b78b8147ca9274ce65551ec27cba5.tar.gz samba-6c8e4faba19b78b8147ca9274ce65551ec27cba5.tar.xz samba-6c8e4faba19b78b8147ca9274ce65551ec27cba5.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.
(This used to be commit f91fcb166107e45ffb3de95a3da65c79992341eb)
Diffstat (limited to 'source3/include/sam.h')
-rw-r--r-- | source3/include/sam.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/include/sam.h b/source3/include/sam.h index 53d56a2a80..afa7e55c65 100644 --- a/source3/include/sam.h +++ b/source3/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 |