summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_tdb.c13
1 files 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;