summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-06-14 20:18:50 -0400
committerSimo Sorce <idra@samba.org>2008-06-14 20:18:50 -0400
commit21943bf0af9276e3f52341d726407aee872dd5cc (patch)
treef378b1a95396193ab1ad07e300c2ada2e7689d71 /source4/lib/ldb
parentfb8723d28c491815a8db13b6ea1a62287e6bafc1 (diff)
downloadsamba-21943bf0af9276e3f52341d726407aee872dd5cc.tar.gz
samba-21943bf0af9276e3f52341d726407aee872dd5cc.tar.bz2
samba-21943bf0af9276e3f52341d726407aee872dd5cc.zip
Ups fix typo in error type
(This used to be commit eb351e33e58abdacdf44cf700f028cc13f52c4c8)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/common/ldb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c
index 20557bd83d..3e725a5c09 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/source4/lib/ldb/common/ldb.c
@@ -128,12 +128,12 @@ int ldb_register_backend(const char *url_prefix, ldb_connect_fn connectfn)
struct backends_list_entry *entry;
backend = talloc(talloc_autofree_context(), struct ldb_backend_ops);
- if (!backend) return LDB_OPERATIONS_ERROR;
+ if (!backend) return LDB_ERR_OPERATIONS_ERROR;
entry = talloc(talloc_autofree_context(), struct backends_list_entry);
if (!entry) {
talloc_free(backend);
- return LDB_OPERATIONS_ERROR;
+ return LDB_ERR_OPERATIONS_ERROR;
}
if (ldb_find_backend(url_prefix)) {