summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-01 16:48:03 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-01 16:48:03 +0100
commitc103fbc919d0f5df24fbfefd5153683ab938b779 (patch)
tree184b8b5538c87ce91b72d8a01ffa4aed9676c36c /source4/lib/ldb
parent24d52dc362210328e16545830835361ac82432c4 (diff)
downloadsamba-c103fbc919d0f5df24fbfefd5153683ab938b779.tar.gz
samba-c103fbc919d0f5df24fbfefd5153683ab938b779.tar.bz2
samba-c103fbc919d0f5df24fbfefd5153683ab938b779.zip
s4:LDB - cosmetic fix for a "for" loop
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/common/ldb_dn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c
index 04e769f031..eb7d1220db 100644
--- a/source4/lib/ldb/common/ldb_dn.c
+++ b/source4/lib/ldb/common/ldb_dn.c
@@ -1718,7 +1718,7 @@ static char *ldb_dn_canonical(void *mem_ctx, struct ldb_dn *dn, int ex_format) {
tmpctx = talloc_new(mem_ctx);
/* Walk backwards down the DN, grabbing 'dc' components at first */
- for (i = dn->comp_num - 1 ; i >= 0; i--) {
+ for (i = dn->comp_num - 1; i >= 0; i--) {
if (ldb_attr_cmp(dn->components[i].name, "dc") != 0) {
break;
}