summaryrefslogtreecommitdiffstats
path: root/source/sam
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-02-25 19:26:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:48 -0500
commitcadd5a44e7f1d532aa4dad7a4233e5ea2c814a10 (patch)
tree65b99ada68752ba9b53cb6d5b8603a143cb6a290 /source/sam
parent3eeecff05efec9310cf2bed7c6fe9a6d80dd6d0d (diff)
downloadsamba-cadd5a44e7f1d532aa4dad7a4233e5ea2c814a10.tar.gz
samba-cadd5a44e7f1d532aa4dad7a4233e5ea2c814a10.tar.xz
samba-cadd5a44e7f1d532aa4dad7a4233e5ea2c814a10.zip
r5571: fix another breakage on gcc 2.96
Diffstat (limited to 'source/sam')
-rw-r--r--source/sam/idmap_rid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sam/idmap_rid.c b/source/sam/idmap_rid.c
index ef4b8ef5692..6315c6ab2e6 100644
--- a/source/sam/idmap_rid.c
+++ b/source/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;