mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s4:LDB TDB index code - reintroduce accidentally removed code part
This was removed by 95d726f301
. Sorry.
This commit is contained in:
parent
f8dba773a5
commit
30ff229a3e
@ -1331,7 +1331,9 @@ int ltdb_index_del_value(struct ldb_module *module, struct ldb_dn *dn,
|
||||
}
|
||||
|
||||
j = (unsigned int) i;
|
||||
memmove(&list->dn[j], &list->dn[j+1], sizeof(list->dn[0])*(list->count - (i+1)));
|
||||
if (j != list->count - 1) {
|
||||
memmove(&list->dn[j], &list->dn[j+1], sizeof(list->dn[0])*(list->count - (j+1)));
|
||||
}
|
||||
list->count--;
|
||||
list->dn = talloc_realloc(list, list->dn, struct ldb_val, list->count);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user