svn commit: samba r17601 - in
branches/SAMBA_4_0/source/lib/ldb/tools: .
abartlet at samba.org
abartlet at samba.org
Fri Aug 18 12:27:14 GMT 2006
Author: abartlet
Date: 2006-08-18 12:27:14 +0000 (Fri, 18 Aug 2006)
New Revision: 17601
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17601
Log:
Fix declaration after statement.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/lib/ldb/tools/ad2oLschema.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tools/ad2oLschema.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tools/ad2oLschema.c 2006-08-18 06:14:21 UTC (rev 17600)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/ad2oLschema.c 2006-08-18 12:27:14 UTC (rev 17601)
@@ -255,7 +255,6 @@
} *oid_map = NULL;
int num_maps = 0;
struct ldb_result *attrs_res, *objectclasses_res;
- struct ldb_message *msg;
struct ldb_dn *schemadn;
struct schema_conv ret;
@@ -314,7 +313,7 @@
}
for (i=0; i < attrs_res->count; i++) {
- msg = attrs_res->msgs[i];
+ struct ldb_message *msg = attrs_res->msgs[i];
const char *name = ldb_msg_find_attr_as_string(msg, "lDAPDisplayName", NULL);
const char *description = ldb_msg_find_attr_as_string(msg, "description", NULL);
@@ -410,7 +409,7 @@
}
for (i=0; i < objectclasses_res->count; i++) {
- msg = objectclasses_res->msgs[i];
+ struct ldb_message *msg = objectclasses_res->msgs[i];
const char *name = ldb_msg_find_attr_as_string(msg, "lDAPDisplayName", NULL);
const char *description = ldb_msg_find_attr_as_string(msg, "description", NULL);
const char *oid = ldb_msg_find_attr_as_string(msg, "governsID", NULL);
More information about the samba-cvs
mailing list