summaryrefslogtreecommitdiff
path: root/source3/lsarpcd/srv_lsa.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-08-24 21:49:10 +0000
committerJeremy Allison <jra@samba.org>1998-08-24 21:49:10 +0000
commit8afc9c80ac11649f06e5517d819dbf201c941acb (patch)
tree99823c267e34902aae622643b2e2fb412d5f846c /source3/lsarpcd/srv_lsa.c
parent0e877bd53bcffcaeab738610ca64c685c99f8263 (diff)
downloadsamba-8afc9c80ac11649f06e5517d819dbf201c941acb.tar.gz
samba-8afc9c80ac11649f06e5517d819dbf201c941acb.tar.bz2
samba-8afc9c80ac11649f06e5517d819dbf201c941acb.zip
Changed ASSERT macros to SMB_ASSERT macros as some systems already
have an ASSERT macro defined. Jeremy. (This used to be commit dbe6ad014a8b5dcbf17d7cd9865650c2e040d666)
Diffstat (limited to 'source3/lsarpcd/srv_lsa.c')
-rw-r--r--source3/lsarpcd/srv_lsa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lsarpcd/srv_lsa.c b/source3/lsarpcd/srv_lsa.c
index d2ca2d7a76..0675743eee 100644
--- a/source3/lsarpcd/srv_lsa.c
+++ b/source3/lsarpcd/srv_lsa.c
@@ -163,7 +163,7 @@ static void make_reply_lookup_rids(LSA_R_LOOKUP_RIDS *r_l,
r_l->undoc_buffer = 1;
r_l->num_entries2 = num_entries;
- ASSERT_ARRAY(r_l->dom_rid, num_entries);
+ SMB_ASSERT_ARRAY(r_l->dom_rid, num_entries);
for (i = 0; i < num_entries; i++)
{
@@ -184,7 +184,7 @@ static void make_lsa_trans_names(LSA_TRANS_NAME_ENUM *trn,
int i;
(*total) = 0;
- ASSERT(num_entries <= MAX_LOOKUP_SIDS);
+ SMB_ASSERT(num_entries <= MAX_LOOKUP_SIDS);
for (i = 0; i < num_entries; i++)
{
@@ -196,7 +196,7 @@ static void make_lsa_trans_names(LSA_TRANS_NAME_ENUM *trn,
trn->ptr_name[i] = 0;
trn->ptr_name[(*total)] = 0;
- ASSERT_ARRAY(sid[i].sid.sub_auths, num_auths);
+ SMB_ASSERT_ARRAY(sid[i].sid.sub_auths, num_auths);
/* find the rid to look up */
if (num_auths != 0)
@@ -403,7 +403,7 @@ static void api_lsa_lookup_names( int uid, prs_struct *data,
string_to_sid(&sid_S_1_3, "S-1-3");
string_to_sid(&sid_S_1_5, "S-1-5");
- ASSERT_ARRAY(q_l.lookup_name, q_l.num_entries);
+ SMB_ASSERT_ARRAY(q_l.lookup_name, q_l.num_entries);
/* convert received RIDs to strings, so we can do them. */
for (i = 0; i < q_l.num_entries; i++)