summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-06-21 11:32:02 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-08-19 19:31:03 +0200
commit87b482a89e045b8ae253911cb55b4957ee71175e (patch)
tree56df34c75bac947e4b291b64bad26b0bf1a6e172 /lib
parent0825a52a369883ec422efbebfce5eaac78bf94a5 (diff)
downloadsamba-87b482a89e045b8ae253911cb55b4957ee71175e.tar.gz
samba-87b482a89e045b8ae253911cb55b4957ee71175e.tar.bz2
samba-87b482a89e045b8ae253911cb55b4957ee71175e.zip
ldb - two cosmetic fixes
@ldb.h: Removes an invalid comment line @pyldb.c: Fixes indentation
Diffstat (limited to 'lib')
-rw-r--r--lib/ldb/include/ldb.h2
-rw-r--r--lib/ldb/pyldb.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/ldb/include/ldb.h b/lib/ldb/include/ldb.h
index 4220ed096f..ae34019216 100644
--- a/lib/ldb/include/ldb.h
+++ b/lib/ldb/include/ldb.h
@@ -1425,8 +1425,6 @@ int ldb_build_extended_req(struct ldb_request **ret_req,
/**
call an extended operation
- This function deletes a record from the database.
-
\param ldb the context associated with the database (from ldb_init())
\param oid the OID of the extended operation.
\param data a void pointer a the extended operation specific parameters,
diff --git a/lib/ldb/pyldb.c b/lib/ldb/pyldb.c
index 218505dd8c..72680c1710 100644
--- a/lib/ldb/pyldb.c
+++ b/lib/ldb/pyldb.c
@@ -1143,11 +1143,11 @@ static PyObject *py_ldb_add(PyLdbObject *self, PyObject *args, PyObject *kwargs)
ret = ldb_request(ldb_ctx, req);
if (ret == LDB_SUCCESS) {
- ret = ldb_wait(req->handle, LDB_WAIT_ALL);
+ ret = ldb_wait(req->handle, LDB_WAIT_ALL);
}
if (ret == LDB_SUCCESS) {
- ret = ldb_transaction_commit(ldb_ctx);
+ ret = ldb_transaction_commit(ldb_ctx);
} else {
ldb_transaction_cancel(ldb_ctx);
if (ldb_ctx->err_string == NULL) {