summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-05-31 10:22:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:46 -0500
commitbd22992274bdd286cf635956b4897b50f6377d66 (patch)
tree8562ed1b5732e2cb20d5a21c518fb409f4a1369f /source4
parent3dcbe5702d795e0525029c73ef1aad58ece58309 (diff)
downloadsamba-bd22992274bdd286cf635956b4897b50f6377d66.tar.gz
samba-bd22992274bdd286cf635956b4897b50f6377d66.tar.bz2
samba-bd22992274bdd286cf635956b4897b50f6377d66.zip
r15979: some farmating...
metze (This used to be commit 53ec76d8d2edaa37bbccb6de838248931a3a76d2)
Diffstat (limited to 'source4')
-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;