diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-02 11:25:11 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-02 13:09:15 +0100 |
commit | 73aea83966851e11923d2f5fd69171be385e22f7 (patch) | |
tree | cbb68667df9601bc4b5b428fa6a776626ecd398e /source4 | |
parent | 44625f76c174e97e8a2c03a196358c604e78f694 (diff) | |
download | samba-73aea83966851e11923d2f5fd69171be385e22f7.tar.gz samba-73aea83966851e11923d2f5fd69171be385e22f7.tar.bz2 samba-73aea83966851e11923d2f5fd69171be385e22f7.zip |
s4:schema_fsmo: s/class/sclass
metze
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/schema_fsmo.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/schema_fsmo.c b/source4/dsdb/samdb/ldb_modules/schema_fsmo.c index a134a3d4d0..edd451255e 100644 --- a/source4/dsdb/samdb/ldb_modules/schema_fsmo.c +++ b/source4/dsdb/samdb/ldb_modules/schema_fsmo.c @@ -291,11 +291,11 @@ static int schema_fsmo_extended(struct ldb_module *module, struct ldb_request *r static int generate_objectClasses(struct ldb_context *ldb, struct ldb_message *msg, const struct dsdb_schema *schema) { - const struct dsdb_class *class; + const struct dsdb_class *sclass; int ret; - for (class = schema->classes; class; class = class->next) { - ret = ldb_msg_add_string(msg, "objectClasses", schema_class_to_description(msg, class)); + for (sclass = schema->classes; sclass; sclass = sclass->next) { + ret = ldb_msg_add_string(msg, "objectClasses", schema_class_to_description(msg, sclass)); if (ret != LDB_SUCCESS) { return ret; } @@ -320,12 +320,12 @@ static int generate_attributeTypes(struct ldb_context *ldb, struct ldb_message * static int generate_dITContentRules(struct ldb_context *ldb, struct ldb_message *msg, const struct dsdb_schema *schema) { - const struct dsdb_class *class; + const struct dsdb_class *sclass; int ret; - for (class = schema->classes; class; class = class->next) { - if (class->auxiliaryClass || class->systemAuxiliaryClass) { - char *ditcontentrule = schema_class_to_dITContentRule(msg, class, schema); + for (sclass = schema->classes; sclass; sclass = sclass->next) { + if (sclass->auxiliaryClass || sclass->systemAuxiliaryClass) { + char *ditcontentrule = schema_class_to_dITContentRule(msg, sclass, schema); if (!ditcontentrule) { ldb_oom(ldb); return LDB_ERR_OPERATIONS_ERROR; |