[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha4-78-geb351e3

Simo Sorce idra at samba.org
Sun Jun 15 00:19:50 GMT 2008


The branch, v4-0-test has been updated
       via  eb351e33e58abdacdf44cf700f028cc13f52c4c8 (commit)
      from  5457c667647ec156bb7b4f86ce580def4e9350d5 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit eb351e33e58abdacdf44cf700f028cc13f52c4c8
Author: Simo Sorce <idra at samba.org>
Date:   Sat Jun 14 20:18:50 2008 -0400

    Ups fix typo in error type

-----------------------------------------------------------------------

Summary of changes:
 source/lib/ldb/common/ldb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/ldb/common/ldb.c b/source/lib/ldb/common/ldb.c
index 20557bd..3e725a5 100644
--- a/source/lib/ldb/common/ldb.c
+++ b/source/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)) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list