mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
r22735: correct some comments
rafal (This used to be commit 6d4268bcd3c28ed2928e68aea567517a671e314a)
This commit is contained in:
parent
fbe82f1375
commit
0ad4c05508
@ -1013,7 +1013,7 @@ static struct domainlist* get_domain_list(TALLOC_CTX *mem_ctx, struct domain_lis
|
||||
int i;
|
||||
if (mem_ctx == NULL || s == NULL) return NULL;
|
||||
|
||||
/* copy domain names returned from samr_EnumDomains call */
|
||||
/* prepare domains array */
|
||||
if (s->domains == NULL) {
|
||||
s->domains = talloc_array(mem_ctx, struct domainlist,
|
||||
s->enumdom.out.num_entries);
|
||||
@ -1022,6 +1022,7 @@ static struct domainlist* get_domain_list(TALLOC_CTX *mem_ctx, struct domain_lis
|
||||
s->count + s->enumdom.out.num_entries);
|
||||
}
|
||||
|
||||
/* copy domain names returned from samr_EnumDomains call */
|
||||
for (i = s->count; i < s->count + s->enumdom.out.num_entries; i++)
|
||||
{
|
||||
struct lsa_String *domain_name = &s->enumdom.out.sam->entries[i - s->count].name;
|
||||
|
Loading…
x
Reference in New Issue
Block a user