git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fbf10e
)
s4-kcc: removed redundent loop check
author
Andrew Tridgell
<tridge@samba.org>
Fri, 10 Sep 2010 10:18:11 +0000
(20:18 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 15 Sep 2010 05:39:34 +0000
(15:39 +1000)
el has already been checked for NULL
source4/dsdb/kcc/kcc_service.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/kcc/kcc_service.c
b/source4/dsdb/kcc/kcc_service.c
index 4507545355af0b432bc4fa617a796829f411b35b..9bacca9bc798402b1f4f87aed048e1c8b8eff6b2 100644
(file)
--- a/
source4/dsdb/kcc/kcc_service.c
+++ b/
source4/dsdb/kcc/kcc_service.c
@@
-101,7
+101,7
@@
static WERROR kccsrv_load_partitions(struct kccsrv_service *s)
return WERR_FOOBAR;
}
- for (i=0;
el &&
i < el->num_values; i++) {
+ for (i=0; i < el->num_values; i++) {
const char *v = (const char *)el->values[i].data;
struct ldb_dn *pdn;
struct kccsrv_partition *p;