diff options
author | Rafal Szczesniak <mimir@samba.org> | 2007-05-07 05:55:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:52:07 -0500 |
commit | 0ad4c05508261c21e956ffcda67a112f02686ed6 (patch) | |
tree | 80b3d04c2124eb6a8c97732304b2a901d8b71154 | |
parent | fbe82f1375825b309a126ebbff78d835195e486c (diff) | |
download | samba-0ad4c05508261c21e956ffcda67a112f02686ed6.tar.gz samba-0ad4c05508261c21e956ffcda67a112f02686ed6.tar.bz2 samba-0ad4c05508261c21e956ffcda67a112f02686ed6.zip |
r22735: correct some comments
rafal
(This used to be commit 6d4268bcd3c28ed2928e68aea567517a671e314a)
-rw-r--r-- | source4/libnet/libnet_domain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libnet/libnet_domain.c b/source4/libnet/libnet_domain.c index 4c55a5b0fd..9462b676c1 100644 --- a/source4/libnet/libnet_domain.c +++ b/source4/libnet/libnet_domain.c @@ -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; |