From: Matthias Dieter Wallnöfer Date: Mon, 1 Mar 2010 15:48:03 +0000 (+0100) Subject: s4:LDB - cosmetic fix for a "for" loop X-Git-Tag: samba-3.6.0pre1~4870 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c103fbc919d0f5df24fbfefd5153683ab938b779;p=thirdparty%2Fsamba.git s4:LDB - cosmetic fix for a "for" loop --- diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c index 04e769f031d..eb7d1220db9 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; }