svn commit: samba r22735 - in branches/SAMBA_4_0/source/libnet: .
mimir at samba.org
mimir at samba.org
Mon May 7 05:55:41 GMT 2007
Author: mimir
Date: 2007-05-07 05:55:40 +0000 (Mon, 07 May 2007)
New Revision: 22735
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22735
Log:
correct some comments
rafal
Modified:
branches/SAMBA_4_0/source/libnet/libnet_domain.c
Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet_domain.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet_domain.c 2007-05-07 05:42:26 UTC (rev 22734)
+++ branches/SAMBA_4_0/source/libnet/libnet_domain.c 2007-05-07 05:55:40 UTC (rev 22735)
@@ -1013,7 +1013,7 @@
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 @@
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;
More information about the samba-cvs
mailing list