diff options
author | Jeremy Allison <jra@samba.org> | 1998-08-24 21:49:10 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-08-24 21:49:10 +0000 |
commit | 8afc9c80ac11649f06e5517d819dbf201c941acb (patch) | |
tree | 99823c267e34902aae622643b2e2fb412d5f846c /source3/rpc_server/srv_samr.c | |
parent | 0e877bd53bcffcaeab738610ca64c685c99f8263 (diff) | |
download | samba-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/rpc_server/srv_samr.c')
-rw-r--r-- | source3/rpc_server/srv_samr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c index b0742d0e34..95b0a413c7 100644 --- a/source3/rpc_server/srv_samr.c +++ b/source3/rpc_server/srv_samr.c @@ -236,7 +236,7 @@ static void samr_reply_unknown_3(SAMR_Q_UNKNOWN_3 *q_u, user_sid = global_machine_sid; - ASSERT_ARRAY(user_sid.sub_auths, user_sid.num_auths+1); + SMB_ASSERT_ARRAY(user_sid.sub_auths, user_sid.num_auths+1); /* * Add the user RID. @@ -613,7 +613,7 @@ static void samr_reply_lookup_ids(SAMR_Q_LOOKUP_IDS *q_u, #if 0 int i; - ASSERT_ARRAY(q_u->uni_user_name, num_rids); + SMB_ASSERT_ARRAY(q_u->uni_user_name, num_rids); for (i = 0; i < num_rids && status == 0; i++) { @@ -689,7 +689,7 @@ static void samr_reply_lookup_names(SAMR_Q_LOOKUP_NAMES *q_u, DEBUG(5,("samr_lookup_names: truncating entries to %d\n", num_rids)); } - ASSERT_ARRAY(q_u->uni_user_name, num_rids); + SMB_ASSERT_ARRAY(q_u->uni_user_name, num_rids); for (i = 0; i < num_rids && status == 0; i++) { @@ -898,7 +898,7 @@ static BOOL get_user_info_21(SAM_USER_INFO_21 *id21, uint32 user_rid) /* create a LOGON_HRS structure */ hrs.len = sam_pass->hours_len; - ASSERT_ARRAY(hrs.hours, hrs.len); + SMB_ASSERT_ARRAY(hrs.hours, hrs.len); for (i = 0; i < hrs.len; i++) { hrs.hours[i] = sam_pass->hours[i]; |