From 21943bf0af9276e3f52341d726407aee872dd5cc Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 14 Jun 2008 20:18:50 -0400 Subject: Ups fix typo in error type (This used to be commit eb351e33e58abdacdf44cf700f028cc13f52c4c8) --- source4/lib/ldb/common/ldb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/ldb/common') 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)) { -- cgit