summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-07-03 16:42:20 +0200
committerMichael Adam <obnox@samba.org>2009-07-15 14:01:41 +0200
commitec6b6727d824bea1b4a7b320e7a3c1de38df6724 (patch)
treeceb2d4f20859a829ed074db3770995d5a6d99ec5
parent2b380c73a4796bdf69264e5ca6721ad0d67087e9 (diff)
downloadsamba-ec6b6727d824bea1b4a7b320e7a3c1de38df6724.tar.gz
samba-ec6b6727d824bea1b4a7b320e7a3c1de38df6724.tar.bz2
samba-ec6b6727d824bea1b4a7b320e7a3c1de38df6724.zip
s3:registry: add db_context argument to regdb_delete_values()
Michael
-rw-r--r--source3/registry/reg_backend_db.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index bdb237aafc..bcec77926b 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -551,9 +551,9 @@ done:
}
-static WERROR regdb_delete_values(const char *keyname)
+static WERROR regdb_delete_values(struct db_context *db, const char *keyname)
{
- return regdb_delete_key_with_prefix(regdb, keyname, REG_VALUE_PREFIX);
+ return regdb_delete_key_with_prefix(db, keyname, REG_VALUE_PREFIX);
}
static WERROR regdb_delete_secdesc(const char *keyname)
@@ -570,7 +570,7 @@ static WERROR regdb_delete_key_lists(const char *keyname)
{
WERROR werr;
- werr = regdb_delete_values(keyname);
+ werr = regdb_delete_values(regdb, keyname);
if (!W_ERROR_IS_OK(werr)) {
DEBUG(1, (__location__ " Deleting %s/%s failed: %s\n",
REG_VALUE_PREFIX, keyname, win_errstr(werr)));