summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-07-03 16:44:20 +0200
committerMichael Adam <obnox@samba.org>2009-07-15 14:01:42 +0200
commitbd983dba6b308c28019c2e39f16de8b9e434e4f5 (patch)
treef3b56e0f55c9981ed9e3de244e4d3e68ea444907 /source3
parentec6b6727d824bea1b4a7b320e7a3c1de38df6724 (diff)
downloadsamba-bd983dba6b308c28019c2e39f16de8b9e434e4f5.tar.gz
samba-bd983dba6b308c28019c2e39f16de8b9e434e4f5.tar.bz2
samba-bd983dba6b308c28019c2e39f16de8b9e434e4f5.zip
s3:registry: add db_context argument to regdb_delete_secdesc()
Michael
Diffstat (limited to 'source3')
-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 bcec77926b..1a6ae7bb45 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -556,9 +556,9 @@ static WERROR regdb_delete_values(struct db_context *db, const char *keyname)
return regdb_delete_key_with_prefix(db, keyname, REG_VALUE_PREFIX);
}
-static WERROR regdb_delete_secdesc(const char *keyname)
+static WERROR regdb_delete_secdesc(struct db_context *db, const char *keyname)
{
- return regdb_delete_key_with_prefix(regdb, keyname, REG_SECDESC_PREFIX);
+ return regdb_delete_key_with_prefix(db, keyname, REG_SECDESC_PREFIX);
}
static WERROR regdb_delete_subkeylist(const char *keyname)
@@ -577,7 +577,7 @@ static WERROR regdb_delete_key_lists(const char *keyname)
goto done;
}
- werr = regdb_delete_secdesc(keyname);
+ werr = regdb_delete_secdesc(regdb, keyname);
if (!W_ERROR_IS_OK(werr)) {
DEBUG(1, (__location__ " Deleting %s/%s failed: %s\n",
REG_SECDESC_PREFIX, keyname, win_errstr(werr)));