diff options
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/ranged_results.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/ranged_results.c b/source4/dsdb/samdb/ldb_modules/ranged_results.c index 97303598ec..3b82de8744 100644 --- a/source4/dsdb/samdb/ldb_modules/ranged_results.c +++ b/source4/dsdb/samdb/ldb_modules/ranged_results.c @@ -157,7 +157,9 @@ static int rr_search_callback(struct ldb_request *req, struct ldb_reply *ares) el->num_values = 0; - el->values = talloc_array(ares->message->elements, struct ldb_val, (end - start) + 1); + el->values = talloc_array(ares->message->elements, + struct ldb_val, + (end - start) + 1); if (!el->values) { ldb_oom(ldb); return ldb_module_done(ac->req, NULL, NULL, |