summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-01 07:23:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:23 -0500
commitb88fc7a3911e0ff8b6d7d324028e351281e94c46 (patch)
tree9e194f1d5deff2a716ed018f32b8faa608e28661 /source4/lib
parent1f936e778f12ad27cac4e69e9a39d84686c439d7 (diff)
downloadsamba-b88fc7a3911e0ff8b6d7d324028e351281e94c46.tar.gz
samba-b88fc7a3911e0ff8b6d7d324028e351281e94c46.tar.bz2
samba-b88fc7a3911e0ff8b6d7d324028e351281e94c46.zip
r959: - a static WERROR function should return a WERROR:-)
- some minor format fixes metze (This used to be commit 72d9c70fdd21101744f6fad230c75b6a13105696)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c b/source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c
index 7b574069e9..0633c94616 100644
--- a/source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c
+++ b/source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c
@@ -1,7 +1,7 @@
/*
Unix SMB/CIFS implementation.
Registry interface
- Copyright (C) Jelmer Vernooij 2004.
+ Copyright (C) Jelmer Vernooij 2004.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -88,7 +88,8 @@ static WERROR ldb_fetch_subkeys(REG_KEY *k, int *count, REG_KEY ***subkeys)
static WERROR ldb_get_hive(REG_HANDLE *h, int num, REG_KEY **key)
{
- /* FIXME */
+ /* FIXME */
+ return WERR_FOOBAR;
}
static WERROR ldb_open_key(REG_HANDLE *h, int num, const char *name, REG_KEY **key)
@@ -109,7 +110,7 @@ static WERROR ldb_open_key(REG_HANDLE *h, int num, const char *name, REG_KEY **k
ldb_search_free(c, msg);
talloc_destroy(mem_ctx);
- return WERR_OK;;
+ return WERR_OK;
}
static struct registry_ops reg_backend_ldb = {