From: Simo Sorce Date: Sun, 15 Jun 2008 00:18:50 +0000 (-0400) Subject: Ups fix typo in error type X-Git-Tag: samba-4.0.0alpha5~52^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb351e33e58abdacdf44cf700f028cc13f52c4c8;p=thirdparty%2Fsamba.git Ups fix typo in error type --- diff --git a/source/lib/ldb/common/ldb.c b/source/lib/ldb/common/ldb.c index 20557bd83d3..3e725a5c093 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)) {