From: Gary Lockyer Date: Thu, 19 Jul 2018 20:53:28 +0000 (+1200) Subject: lib ldb: reformat ltdb_reindex_context rename X-Git-Tag: ldb-1.5.0~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e969de0797bed4a3663f0b638ac49b3b6ef2952f;p=thirdparty%2Fsamba.git lib ldb: reformat ltdb_reindex_context rename Fix up the formatting after the rename of ltdb_reindex_context to ldb_kv_reindex_context. Signed-off-by: Gary Lockyer Reviewed-by: Andrew Bartlett --- diff --git a/lib/ldb/ldb_tdb/ldb_index.c b/lib/ldb/ldb_tdb/ldb_index.c index 4d6c57b3a84..1399f6902de 100644 --- a/lib/ldb/ldb_tdb/ldb_index.c +++ b/lib/ldb/ldb_tdb/ldb_index.c @@ -2832,7 +2832,8 @@ static int delete_index(struct ltdb_private *ltdb, struct ldb_val key, struct ld static int re_key(struct ltdb_private *ltdb, struct ldb_val ldb_key, struct ldb_val val, void *state) { struct ldb_context *ldb; - struct ldb_kv_reindex_context *ctx = (struct ldb_kv_reindex_context *)state; + struct ldb_kv_reindex_context *ctx = + (struct ldb_kv_reindex_context *)state; struct ldb_module *module = ctx->module; struct ldb_message *msg; unsigned int nb_elements_in_db; @@ -2923,7 +2924,8 @@ static int re_key(struct ltdb_private *ltdb, struct ldb_val ldb_key, struct ldb_ static int re_index(struct ltdb_private *ltdb, struct ldb_val ldb_key, struct ldb_val val, void *state) { struct ldb_context *ldb; - struct ldb_kv_reindex_context *ctx = (struct ldb_kv_reindex_context *)state; + struct ldb_kv_reindex_context *ctx = + (struct ldb_kv_reindex_context *)state; struct ldb_module *module = ctx->module; struct ldb_message *msg; unsigned int nb_elements_in_db; diff --git a/lib/ldb/ldb_tdb/ldb_tdb.c b/lib/ldb/ldb_tdb/ldb_tdb.c index 348b5fceb02..29c0ead948b 100644 --- a/lib/ldb/ldb_tdb/ldb_tdb.c +++ b/lib/ldb/ldb_tdb/ldb_tdb.c @@ -1924,7 +1924,8 @@ static int ltdb_update_in_iterate(struct ltdb_private *ltdb, { int tdb_ret; struct ldb_context *ldb; - struct ldb_kv_reindex_context *ctx = (struct ldb_kv_reindex_context *)state; + struct ldb_kv_reindex_context *ctx = + (struct ldb_kv_reindex_context *)state; struct ldb_module *module = ctx->module; TDB_DATA key = { .dptr = ldb_key.data,