diff options
author | Gerald Carter <jerry@samba.org> | 2005-02-25 19:26:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:55:48 -0500 |
commit | 76d72a6bc62cba0111cb82b87b560255513e49c2 (patch) | |
tree | e7bcf164d952fc1e2c31dbea5343a303f95eb291 /source3/sam | |
parent | 40d738f50957f7f2e3e55e6749afbe7421fb73d8 (diff) | |
download | samba-76d72a6bc62cba0111cb82b87b560255513e49c2.tar.gz samba-76d72a6bc62cba0111cb82b87b560255513e49c2.tar.bz2 samba-76d72a6bc62cba0111cb82b87b560255513e49c2.zip |
r5571: fix another breakage on gcc 2.96
(This used to be commit cadd5a44e7f1d532aa4dad7a4233e5ea2c814a10)
Diffstat (limited to 'source3/sam')
-rw-r--r-- | source3/sam/idmap_rid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/sam/idmap_rid.c b/source3/sam/idmap_rid.c index ef4b8ef569..6315c6ab2e 100644 --- a/source3/sam/idmap_rid.c +++ b/source3/sam/idmap_rid.c @@ -159,6 +159,7 @@ static NTSTATUS rid_idmap_get_domains(uint32 *num_domains, fstring **domain_name DOM_SID *trusted_domain_sids; uint32 enum_ctx = 0; DOM_SID builtin_sid; + int own_domains = 2; /* put the results together */ *num_domains = 1; @@ -270,7 +271,6 @@ static NTSTATUS rid_idmap_get_domains(uint32 *num_domains, fstring **domain_name i, trusted_domain_names[i], sid_str)); } - int own_domains = 2; if (!sid_equal(domain_sid, get_global_sam_sid())) ++own_domains; |