From bd22992274bdd286cf635956b4897b50f6377d66 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 31 May 2006 10:22:38 +0000 Subject: r15979: some farmating... metze (This used to be commit 53ec76d8d2edaa37bbccb6de838248931a3a76d2) --- source4/lib/ldb/ldb_tdb/ldb_tdb.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.c b/source4/lib/ldb/ldb_tdb/ldb_tdb.c index 29c2703644..fe357072e6 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_tdb.c +++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.c @@ -313,7 +313,6 @@ static int ltdb_add(struct ldb_module *module, struct ldb_request *req) if (ltdb_ac->callback) { ret = ltdb_ac->callback(module->ldb, ltdb_ac->context, NULL); } - done: req->async.handle->state = LDB_ASYNC_DONE; return ret; @@ -419,9 +418,9 @@ static int ltdb_delete(struct ldb_module *module, struct ldb_request *req) goto done; } - if (ltdb_ac->callback) + if (ltdb_ac->callback) { ret = ltdb_ac->callback(module->ldb, ltdb_ac->context, NULL); - + } done: req->async.handle->state = LDB_ASYNC_DONE; return ret; @@ -784,9 +783,9 @@ static int ltdb_modify(struct ldb_module *module, struct ldb_request *req) goto done; } - if (ltdb_ac->callback) + if (ltdb_ac->callback) { ret = ltdb_ac->callback(module->ldb, ltdb_ac->context, NULL); - + } done: req->async.handle->state = LDB_ASYNC_DONE; return ret; @@ -855,9 +854,9 @@ static int ltdb_rename(struct ldb_module *module, struct ldb_request *req) goto done; } - if (ltdb_ac->callback) + if (ltdb_ac->callback) { ret = ltdb_ac->callback(module->ldb, ltdb_ac->context, NULL); - + } done: req->async.handle->state = LDB_ASYNC_DONE; return ret; -- cgit